14 lines
241 B
Bash
14 lines
241 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
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
|
|
}
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|