2019-07-27 18:19:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
2010-02-24 21:58:53 +00:00
|
|
|
|
2015-03-15 10:14:01 +00:00
|
|
|
handle_start_failure () {
|
|
|
|
# The MODE defined in /etc/nut/nut.conf shouldn't affect the exit code when the
|
|
|
|
# daemon is stopped. If it fails to stop, the maintainer script should fail
|
|
|
|
# too.
|
|
|
|
return 1
|
|
|
|
}
|
|
|
|
|
2010-02-24 21:58:53 +00:00
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|