This commit is contained in:
Patrick Schleizer 2023-01-07 15:04:23 -05:00
parent c88e95ce33
commit 10932bb5d8
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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"