Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | CheckPolicy() { |
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 | } |