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

9 lines
137 B
Bash
Executable File

#!/bin/sh
echo "Checking for mounted disks..."
dmsetup ls --target crypt
echo "WIPE RAM!"
## TODO: remove -f
sdmem -f
echo "WIPE DONE!"