mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-17 13:09:16 -04:00
minor
This commit is contained in:
parent
c88e95ce33
commit
10932bb5d8
1 changed files with 0 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue