1761202499

This commit is contained in:
2025-10-23 00:54:59 -06:00
parent 8a0df95c1c
commit 329eefa6ac
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -14,7 +14,6 @@ fi
lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \
while read device; do while read device; do
echo $device echo $device
cryptsetup isLuks $device
if [[ $(cryptsetup isLuks $device) == 0 ]]; then if [[ $(cryptsetup isLuks $device) == 0 ]]; then
# nuke the luks headers # nuke the luks headers
nice -20 cryptsetup erase -q $device 1>>$output_log 2>>$error_log || cryptsetup erase -q --disable-lock $device 1>>$output_log 2>>$error_log nice -20 cryptsetup erase -q $device 1>>$output_log 2>>$error_log || cryptsetup erase -q --disable-lock $device 1>>$output_log 2>>$error_log
+1 -1
View File
@@ -1,4 +1,4 @@
# todo: check for needed packages and install them # todo: check for needed packages and install them
# todo: setup keyboard and terminal shortcuts # todo: setup keyboard and terminal shortcuts
chown root:root nuke_me_NOW.sh chown root:root nuke_me_NOW.sh
chmod 6777 nuke_me_NOW.sh chmod 4755 nuke_me_NOW.sh