#!/bin/sh # # $FreeBSD: head/www/slowcgi/files/slowcgi.in 406554 2016-01-18 09:43:54Z vanilla $ # # PROVIDE: slowcgi # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable slowcgi: # slowcgi_enable="YES" # slowcgi_flags="" . /etc/rc.subr name=slowcgi rcvar=slowcgi_enable command="%%PREFIX%%/sbin/slowcgi" slowcgi_enable=${slowcgi_enable:-"NO"} slowcgi_flags=${slowcgi_flags:-""} load_rc_config $name run_rc_command "$1"