security-misc/usr/lib/dracut/modules.d/40sdmem-security-misc/wipe.sh
Patrick Schleizer 924077e04c
verbose
2022-06-29 13:02:53 -04:00

9 lines
165 B
Bash
Executable File

#!/bin/sh
echo "Checking for mounted disks..."
dmsetup ls --target crypt
echo "WIPE RAM!"
## TODO: remove -f (fast and insecure mode)
sdmem -v -f
echo "WIPE DONE!"