mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 05:42:42 -04:00
output
This commit is contained in:
parent
20596488be
commit
166a6863a1
1 changed files with 3 additions and 0 deletions
|
@ -13,14 +13,17 @@ ram_wipe_check_needshutdown() {
|
||||||
info "wipe-ram.sh wiperamexit: DONE WAITING..."
|
info "wipe-ram.sh wiperamexit: DONE WAITING..."
|
||||||
|
|
||||||
if [ "$wipe_action" = "reboot" ]; then
|
if [ "$wipe_action" = "reboot" ]; then
|
||||||
|
info "wipe-ram.sh wiperamexit: reboot..."
|
||||||
reboot --force
|
reboot --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$wipe_action" = "poweroff" ]; then
|
if [ "$wipe_action" = "poweroff" ]; then
|
||||||
|
info "wipe-ram.sh wiperamexit: poweroff..."
|
||||||
poweroff --force
|
poweroff --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$wipe_action" = "halt" ]; then
|
if [ "$wipe_action" = "halt" ]; then
|
||||||
|
info "wipe-ram.sh wiperamexit: halt..."
|
||||||
halt --force
|
halt --force
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue