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
83800fcb4f
commit
51a5f68c76
@ -73,7 +73,13 @@ dmsetup_actual_output: '$dmsetup_actual_output'"
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
kexec -e && info "wipe-ram.sh: kexec -e succeeded" || warn "wipe-ram.sh: kexec -e failed"
|
||||
if kexec -e ; then
|
||||
info "wipe-ram.sh: kexec -e succeeded"
|
||||
return 0
|
||||
fi
|
||||
|
||||
warn "wipe-ram.sh: kexec -e failed"
|
||||
sleep 5
|
||||
}
|
||||
|
||||
ram_wipe
|
||||
|
Loading…
Reference in New Issue
Block a user