This commit is contained in:
Patrick Schleizer 2023-01-07 12:43:07 -05:00
parent 450ff378b0
commit 2860560edb
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
5 changed files with 26 additions and 30 deletions

View File

@ -46,4 +46,3 @@ install() {
installkernel() { installkernel() {
return 0 return 0
} }

View File

@ -32,4 +32,3 @@ ram_wipe_check_needshutdown() {
} }
ram_wipe_check_needshutdown ram_wipe_check_needshutdown

View File

@ -8,21 +8,19 @@ ram_wipe_action() {
local kernel_wiperam_exit local kernel_wiperam_exit
kernel_wiperam_exit=$(getarg wiperamexit) kernel_wiperam_exit=$(getarg wiperamexit)
if [ "$kernel_wiperam_exit" = "no" ]; then if [ "$kernel_wiperam_exit" = "no" ]; then
info "INFO: Skip, because wiperamexit=no kernel parameter detected, OK." info "INFO: Skip, because wiperamexit=no kernel parameter detected, OK."
return 0 return 0
fi fi
if [ "$kernel_wiperam_exit" != "yes" ]; then if [ "$kernel_wiperam_exit" != "yes" ]; then
info "INFO: Skip, becuase wiperamexit parameter is not used. " info "INFO: Skip, becuase wiperamexit parameter is not used."
return 0 return 0
fi fi
info "INFO: wiperamexit=yes. Running second RAM wipe... " info "INFO: wiperamexit=yes. Running second RAM wipe..."
sdmem -l -l -v sdmem -l -l -v
} }
ram_wipe_action
ram_wipe_action

View File

@ -64,7 +64,7 @@ ram_wipe() {
sleep 3 sleep 3
else else
info "\ info "\
WARNING: wipe-ram.sh:There are still mounted encrypted disks! RAM wipe failed! WARNING: wipe-ram.sh: There are still mounted encrypted disks! RAM wipe failed!
debugging information: debugging information:
dmsetup_expected_output: '$dmsetup_expected_output' dmsetup_expected_output: '$dmsetup_expected_output'