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