~ubuntu-branches/ubuntu/natty/smartmontools/natty

« back to all changes in this revision

Viewing changes to debian/smartmontools.init

  • Committer: James Westby
  • Date: 2010-06-16 09:39:09 UTC
  • mfrom: (19.1.1 smartmontools.fix-491324)
  • Revision ID: james.westby@linaro.org-20100616093909-gg6pgwwci1rakr94
debian/smartmontools.init: Fix status message (LP: #491324)

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        fi
128
128
        ;;
129
129
  status)
130
 
        status_of_proc -p $SMARTDPID $SMARTD smartd && exit 0 || exit $?  
 
130
        status_of_proc -p $PIDFILE $DAEMON smartd && exit 0 || exit $?  
131
131
        ;;
132
132
  *)
133
133
        echo "Usage: /etc/init.d/smartmontools {start|stop|restart|reload|force-reload|status}"