diff options
Diffstat (limited to 'package/nut')
-rw-r--r-- | package/nut/files/upsd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/nut/files/upsd.init b/package/nut/files/upsd.init index edd023eff..8ca1fb996 100644 --- a/package/nut/files/upsd.init +++ b/package/nut/files/upsd.init @@ -16,7 +16,7 @@ start) /usr/sbin/upsd || exit 2 ;; stop) - /usr/sbin/upsd -c stop || pkill upsd + /usr/sbin/upsd -c stop || kill $(pgrep -f /usr/sbin/upsd) /usr/bin/upsdrvctl stop ;; restart) |