This commit is contained in:
Patrick Schleizer 2023-01-07 15:35:15 -05:00
parent 20596488be
commit 166a6863a1
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -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