mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
minor
This commit is contained in:
parent
c88e95ce33
commit
10932bb5d8
@ -12,7 +12,6 @@ env
|
||||
## Lets hope $1 is set to reboot, poweroff or halt by systemd.
|
||||
true "1: $1"
|
||||
|
||||
|
||||
# Get the kernel command-line arguments
|
||||
cmdline=$(cat /proc/cmdline)
|
||||
|
||||
@ -34,7 +33,6 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
if systemctl list-jobs | grep "poweroff.target" | grep -q "start"; then
|
||||
wram="yes"
|
||||
wact="poweroff"
|
||||
|
Loading…
Reference in New Issue
Block a user