Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nut for openSUSE:Factory checked in 
at 2023-07-11 15:56:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nut (Old)
 and      /work/SRC/openSUSE:Factory/.nut.new.8922 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nut"

Tue Jul 11 15:56:51 2023 rev:76 rq:1097962 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nut/nut.changes  2023-07-06 18:29:31.571455756 
+0200
+++ /work/SRC/openSUSE:Factory/.nut.new.8922/nut.changes        2023-07-11 
15:57:05.417097025 +0200
@@ -1,0 +2,6 @@
+Thu Jul  6 20:29:12 UTC 2023 - Antonio Teixeira <antonio.teixe...@suse.com>
+
+- Fix nut.system-sleep script to allow NUT usage with sleep and
+  hibernation (bsc#1188990)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------


++++++ nut.system-sleep ++++++
--- /var/tmp/diff_new_pack.hiO3dw/_old  2023-07-11 15:57:06.413102818 +0200
+++ /var/tmp/diff_new_pack.hiO3dw/_new  2023-07-11 15:57:06.413102818 +0200
@@ -2,17 +2,17 @@
 
 # Always stop nut before sleep, but do not initiate powerdown for hybrid-sleep.
 if [ "$1" = pre ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ; then
-       /sbin/service upsd.service stop
+       /usr/bin/systemctl stop nut-server.service
 fi
 if [ "$1" = pre ] && [ "$2" = hibernate ] ; then
        # FIXME: All hibernate quirks are called in parallel. To be on a safest 
side, we should initiate powerdown grace period when they terminate.
        sleep 5
        if test -n "$POWERDOWNFLAG" -a -f "$POWERDOWNFLAG" ; then
                export UPSD_POWERDOWN_CONDITION=1
-               /etc/init.d/upsd try-powerdown
+               /usr/sbin/upsdrvctl shutdown
        fi
 fi
 if [ "$1" = post ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ; 
then
-       /sbin/service upsd.service start
+       /usr/bin/systemctl start nut-server.service
 fi
 

Reply via email to