~ salmonella-environment-setup (master) /awful/init-scripts/freebsd
Trap1#! /bin/sh2#34# PROVIDE: awful5# REQUIRE: DAEMON6# KEYWORD: shutdown78#9# Add the following lines to /etc/rc.conf to enable awful:10#11#awful_enable="YES"1213. /etc/rc.subr1415name="awful"16rcvar="awful_enable"1718load_rc_config $name1920# Privileges are dropped in the wrapper-script21#: ${awful_user:=awful}22#: ${awful_group:=awful}23: ${awful_enable:=NO}2425procname="awful"26logfile="/var/log/awful/init.log"27# Unfortunately, pidfile handling of rc.subr doesn't seem to work...28pidfile="/var/run/awful.pid"2930#... so we have to work with a wrapper script31command="/home/chicken/bin/awful-wrapper"32command_args="${pidfile} ${logfile}"333435run_rc_command "$1"