mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:03:35 +07:00
output
This commit is contained in:
parent
20596488be
commit
166a6863a1
@ -13,14 +13,17 @@ ram_wipe_check_needshutdown() {
|
||||
info "wipe-ram.sh wiperamexit: DONE WAITING..."
|
||||
|
||||
if [ "$wipe_action" = "reboot" ]; then
|
||||
info "wipe-ram.sh wiperamexit: reboot..."
|
||||
reboot --force
|
||||
fi
|
||||
|
||||
if [ "$wipe_action" = "poweroff" ]; then
|
||||
info "wipe-ram.sh wiperamexit: poweroff..."
|
||||
poweroff --force
|
||||
fi
|
||||
|
||||
if [ "$wipe_action" = "halt" ]; then
|
||||
info "wipe-ram.sh wiperamexit: halt..."
|
||||
halt --force
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user