2019-07-27 21:19:19 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
2010-02-24 23:58:53 +02:00
|
|
|
|
2015-03-15 12:14:01 +02: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 23:58:53 +02:00
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
exit 0
|