]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/initscripts/init.d/collectd
e6ee268452d3311bceb1e4639a085f68f3aab386
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
20 boot_mesg
"Stopping mbmon daemon..."
21 killproc
/usr
/bin
/mbmon
23 # boot_mesg "Stopping hddtemp daemon..."
24 # killproc /usr/sbin/hddtemp
26 boot_mesg
"Stopping Collection daemon..."
27 killproc
/usr
/sbin
/collectd
39 statusproc
/usr
/sbin
/collectd
43 echo "Usage: $0 {start|stop|restart|status}"
48 # End $rc_base/init.d/collectd