mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-03-09 20:30:23 +07:00
refactoring
This commit is contained in:
parent
83800fcb4f
commit
51a5f68c76
@ -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…
Reference in New Issue
Block a user