![]() Registered Member ![]()
|
Hello
I have some backup scripts in place, when these are running I like to protect my selfe an send at least a warning when I try to shutdown. Is this possible to do. Guess something like when shutdown check for a certain script ps -ef| grep rsync ... ask if I really want to shutdown Thanks a lot Michael
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
![]() KDE Developer ![]()
|
I think powerdevil has a D-Bus API that a program or script can call to prevent suspend and shutdown.
Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
thx will check that out soon
Michael
openSUSE 11.2 and KDE 4.4.0 -- Vita brevis! --
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]