Advertisement
yaneurabeya

Untitled

Dec 27th, 2011
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. Index: gui/middleware/notifier.py
  2. ===================================================================
  3. --- gui/middleware/notifier.py (revision 9325)
  4. +++ gui/middleware/notifier.py (working copy)
  5. @@ -484,9 +484,9 @@
  6. self.__system("/usr/sbin/service nut_upslog start")
  7.  
  8. def _stop_ups(self):
  9. - self.__system("/usr/sbin/service nut_upslog stop")
  10. - self.__system("/usr/sbin/service nut_upsmon stop")
  11. - self.__system("/usr/sbin/service nut stop")
  12. + self.__system("/usr/sbin/service nut_upslog forcestop")
  13. + self.__system("/usr/sbin/service nut_upsmon forcestop")
  14. + self.__system("/usr/sbin/service nut forcestop")
  15.  
  16. def _restart_ups(self):
  17. self.__system("/usr/sbin/service ix-ups quietstart")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement