mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
refactoring
This commit is contained in:
parent
166a6863a1
commit
d8bf40f7a2
@ -15,14 +15,10 @@ ram_wipe_check_needshutdown() {
|
||||
if [ "$wipe_action" = "reboot" ]; then
|
||||
info "wipe-ram.sh wiperamexit: reboot..."
|
||||
reboot --force
|
||||
fi
|
||||
|
||||
if [ "$wipe_action" = "poweroff" ]; then
|
||||
elif [ "$wipe_action" = "poweroff" ]; then
|
||||
info "wipe-ram.sh wiperamexit: poweroff..."
|
||||
poweroff --force
|
||||
fi
|
||||
|
||||
if [ "$wipe_action" = "halt" ]; then
|
||||
elif [ "$wipe_action" = "halt" ]; then
|
||||
info "wipe-ram.sh wiperamexit: halt..."
|
||||
halt --force
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user