Comment 4 for bug 491324

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
and uncomment the