]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/initscripts/init.d/collectd
removed fail's if mbmon cannot start
[ipfire-2.x.git] / src / initscripts / init.d / collectd
index e6ee268452d3311bceb1e4639a085f68f3aab386..db72e8455f3d4e1c1d1d9bec4fa8b15ffb4adba9 100644 (file)
@@ -13,13 +13,17 @@ case "$1" in
 #              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
                boot_mesg "Bringing up mbmon daemon..."
                /usr/bin/mbmon -P 411 -r
-               evaluate_retval
+               if [ ${?} = 0 ]; then
+                   echo_ok;
+               fi
                ;;
 
        stop)
-               boot_mesg "Stopping mbmon daemon..."
-               killproc /usr/bin/mbmon
-               evaluate_retval
+#              boot_mesg "Stopping mbmon daemon..."
+#              killproc /usr/bin/mbmon
+#              if [ ${?} = 0 ]; then
+#                  echo_ok;
+#              fi
 #              boot_mesg "Stopping hddtemp daemon..."
 #              killproc /usr/sbin/hddtemp
 #              evaluate_retval