On 10.04 the info line is changed, but not in the good direction, now it 
contains not only one but two undefined variables:
status_of_proc -p $SMARTDPID $SMARTD smartd && exit 0 || exit $?
The fixed line proposed by Steven Danna does work:
status_of_proc $DAEMON smartd && exit 0 || exit $?

I would also add, that the smartd daemon does not start automatically on system 
start after installation of the package. Even if I try to start manually using 
sudo service smartmontools start 
it does not actually start and it does not display any message. I had to edit 
/etc/default/smartmontools
and uncomment the 
#start_smartd=yes
line.

-- 
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