diff options
Diffstat (limited to 'package/nut/files/upsd.init')
-rw-r--r-- | package/nut/files/upsd.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/nut/files/upsd.init b/package/nut/files/upsd.init index 159a2fc00..0d451d1ad 100644 --- a/package/nut/files/upsd.init +++ b/package/nut/files/upsd.init @@ -7,6 +7,7 @@ case $1 in autostop) ;; autostart) test x"${upsd:-NO}" = x"NO" && exit 0 + test x"$upsd" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start exec sh $0 start ;; start) |