1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh # general config . /etc/rc.conf . /etc/rc.d/functions BIN=/sbin/munin-node OPTS="" SVC=munin-node echo "Stopping $SVC daemon" PID=`pidof $BIN` if [ -z "$PID" ] then rm -f /var/run/munin/$SVC.pid rm_daemon $SVC fi