mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 11:06:04 -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..."
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue