[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: temporarily disable shutdown



Am 28.03.2015 um 18:51 schrieb Michael Biebl:
> You can run something like
> 
> systemd-inhibit --what=shutdown --mode=block /bin/sleep 3600
> 
> to block shutdown for 1h.

This does NOT work. I tested it with debian testing.
It does not prevent shutdown through hte KDE GUI. And even on the commandline a "poweroff" is still successfully executed.

Matthias




Reply to: