From 2c8b387e839c4ab9e4220903fb27753cba97c5c0 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 23 Oct 2025 00:43:48 -0600 Subject: [PATCH] 1761201828 --- nuke_me_NOW.sh | 2 +- setup.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 setup.sh diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 8ea164a..7451bfc 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -15,7 +15,7 @@ lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ if [ $(cryptsetup isLuks cryptsetup $device) -eq 0 ]; then # 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 - # immediate halt poweroff + # immediate halt power nice -20 poweroff -ff 1>>$output_log 2>>$error_log || shutdown -P now 1>>$output_log 2>>$error_log fi done \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..f4ce40a --- /dev/null +++ b/setup.sh @@ -0,0 +1,4 @@ +# todo: check for needed packages and install them +# todo: setup keyboard and terminal shortcuts +chown root:root nuke_me_NOW.sh +chmod 6777 nuke_me_NOW.sh \ No newline at end of file