security-misc/usr/lib/dracut/modules.d/40sdmem-security-misc/wipe.sh
Patrick Schleizer db301dfd7f
comment
2022-06-29 13:02:39 -04:00

9 lines
162 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 -f
echo "WIPE DONE!"