diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
commit | 0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch) | |
tree | 8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/nut | |
parent | 845317b460ee99ad633534cad4de72404af7e30b (diff) |
fix startup scripts, fix stop routine
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) |