Minimize difference between power_button and sleep_button script
OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=57
This commit is contained in:
parent
8d611ed792
commit
5c116f84d1
@ -31,7 +31,7 @@ while read A; do
|
||||
|
||||
if [ "$IS_ACTIVE" = "true" -a -n "$DISP" ]; then
|
||||
# additional check, if none of these two apps are running, go on
|
||||
if [ -n "`pidof kpowersave`" -o -n "`pidof gnome-power-manager`" -o -n "`pidof kded4`" ]; then
|
||||
if [ -n "`pidof kpowersave`" -o -n "`pidof gnome-power-manager`" -o -n "`pidof kded4`" -o -n "`pidof dalston-power-applet`" -o -n "`pidof gnome-settings-daemon`" ]; then
|
||||
echo doing nothing...
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user