-# ---------------------------------------------------------------------------
-if [ -f /etc/rc.config ]; then
-
-# Author: Daniel Bischof <daniel@suse.de>, 1999
-# Adjustment: Axel Braun <doc.b@gmx.de>, 17.08.2000
-. /etc/rc.config
-#base=${0##*/}
-#link=${base#*[SK][0-9][0-9]}
-#test $link = $base && START_IJB=yes
-#test "$START_IJB" = "yes" || exit 0
-return=$rc_done
-case "$1" in
- start)
- echo -n "Starting The Internet Junkbuster"
- su - nobody -c 'nohup /usr/sbin/junkbuster /etc/junkbuster/config < /dev/null > /dev/null &'
- sleep 1
- echo -e "$return"
- ;;
- stop)
- echo -n "Shutting down The Internet Junkbuster"
- killproc -TERM /usr/sbin/junkbuster || return=$rc_failed
- echo -e "$return"
- ;;
- restart|reload)
- echo -n "Reload The Internet Junkbuster"
- killproc -HUP /usr/sbin/junkbuster || return=$rc_failed
- echo -e "$return"
- ;;
- status)
- checkproc /usr/sbin/junkbuster && echo OK || echo No process
- ;;
- *)
- echo "Usage: $0 {start|restart|status|stop}"
- exit 1
-esac
-test "$return" = "$rc_done" || exit 1
-exit 0
-
-else
-# ---------------------------------------------------------------------------
-#
-# RedHat only