Correction, it should read:

  status)
        status_of_proc -p $PIDFILE $DAEMON smartd && exit 0 || exit $?  
        ;;

or

  status)
        status_of_proc $DAEMON smartd && exit 0 || exit $?  
        ;;

But even with that change it doesn't seem to be working right for me.
If this bug is still around in a few days I will look at the init script
more closely than I can right now and try to fix it.

-- 
smartmontools init scripts fails on 'status' action
https://bugs.launchpad.net/bugs/491324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to