blob: fd099df0d804c81edfba808fc82d5a94aee91c80 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001CheckPolicy() {
2 if pidof gnome-power-manager kpowersave > /dev/null ||
3 (pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop kded kded loadedModules | grep -q klaptopdaemon) ; then
4 echo 0;
5 else
6 echo 1;
7 fi
8}