diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2008-04-07 12:41:20 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2008-04-07 12:41:20 +0000 |
commit | 9f70f577ffd829c4aabc267f4c28b3d603eb9a57 (patch) | |
tree | 2ccf1be60faea3bd2f23ad466ff1f2b18c96a45e /www/junkbuster/files/junkbuster.sh.in | |
parent | 212b164b3ff661ceb4773e18a7002f2a8284a339 (diff) | |
download | ports-9f70f577ffd829c4aabc267f4c28b3d603eb9a57.tar.gz ports-9f70f577ffd829c4aabc267f4c28b3d603eb9a57.zip |
Notes
Diffstat (limited to 'www/junkbuster/files/junkbuster.sh.in')
-rw-r--r-- | www/junkbuster/files/junkbuster.sh.in | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/www/junkbuster/files/junkbuster.sh.in b/www/junkbuster/files/junkbuster.sh.in deleted file mode 100644 index bd3a1f6715c1..000000000000 --- a/www/junkbuster/files/junkbuster.sh.in +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/sh - -# PROVIDE: junkbuster -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON - -# -# Add the following lines to /etc/rc.conf to enable junkbuster: -# junkbuster_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable junkbuster -# - -. %%RC_SUBR%% - -name="junkbuster" -command=%%PREFIX%%/sbin/junkbuster -required_files=%%PREFIX%%/etc/junkbuster/configfile -start_cmd="ijb_start" - -[ -z "${junkbuster_enable}" ] && junkbuster_enable="NO" - -ijb_start() -{ - cd %%PREFIX%%/etc/junkbuster - su -m nobody -c "%%PREFIX%%/sbin/junkbuster configfile &" >/dev/null - echo -n " junkbuster" -} - -load_rc_config $name -run_rc_command "$1" - -#case $1 in -#start) -# if [ -d %%JDIR%% \ -# -a -x %%PREFIX%%/sbin/junkbuster \ -# -a -f %%JDIR%%/configfile ]; then -# : seems OK -# else -# echo >&2 "$0: missing files!" -# exit 1 -# fi -# cd %%JDIR%% -# su -m nobody -c "%%PREFIX%%/sbin/junkbuster configfile &" \ -# >/dev/null \ -# && echo -n " junkbuster" \ -# || echo " junkbuster FAILED TO START" -# ;; -#stop) -# killall junkbuster && echo -n " junkbuster" -# ;; -#restart) -# $0 stop -# $0 start -# ;; -#*) -# echo "Usage: `basename $0` {start|stop}" >&2 -# exit 64 -# ;; -#esac -# -#exit 0 |