]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/init.d/collectd
2 # Begin $rc_base/init.d/collecd
10 boot_mesg
"Starting Collection daemon..."
11 /usr
/sbin
/collectd
-C /etc
/collectd.conf
13 # for disk in `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`; do boot_mesg "Bringing up hddtemp daemon for $disk ..."; /usr/sbin/hddtemp $disk -d -l localhost; evaluate_retval; done
14 boot_mesg
"Bringing up mbmon daemon..."
15 /usr
/bin
/mbmon
-P 411 -r
22 # boot_mesg "Stopping mbmon daemon..."
23 # killproc /usr/bin/mbmon
24 # if [ ${?} = 0 ]; then
27 # boot_mesg "Stopping hddtemp daemon..."
28 # killproc /usr/sbin/hddtemp
30 boot_mesg
"Stopping Collection daemon..."
31 killproc
/usr
/sbin
/collectd
43 statusproc
/usr
/sbin
/collectd
47 echo "Usage: $0 {start|stop|restart|status}"
52 # End $rc_base/init.d/collectd