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