mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-18 14:09:21 -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
|
sleep 5
|
||||||
fi
|
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
|
ram_wipe
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue