mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 10:56:04 -04:00
refactoring
This commit is contained in:
parent
83800fcb4f
commit
51a5f68c76
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue