Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: gui/middleware/notifier.py
- ===================================================================
- --- gui/middleware/notifier.py (revision 9325)
- +++ gui/middleware/notifier.py (working copy)
- @@ -484,9 +484,9 @@
- self.__system("/usr/sbin/service nut_upslog start")
- def _stop_ups(self):
- - self.__system("/usr/sbin/service nut_upslog stop")
- - self.__system("/usr/sbin/service nut_upsmon stop")
- - self.__system("/usr/sbin/service nut stop")
- + self.__system("/usr/sbin/service nut_upslog forcestop")
- + self.__system("/usr/sbin/service nut_upsmon forcestop")
- + self.__system("/usr/sbin/service nut forcestop")
- def _restart_ups(self):
- self.__system("/usr/sbin/service ix-ups quietstart")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement