security-misc/usr/lib/dracut/modules.d/40sdmem-security-misc/wipe.sh
Patrick Schleizer 295811a88f
improvements
2022-06-29 11:14:52 -04:00

8 lines
118 B
Bash
Executable File

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