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:
Thomas Renninger 2013-01-15 15:44:26 +00:00 committed by Git OBS Bridge
parent 8d611ed792
commit 5c116f84d1

View File

@ -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