diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 535be0d..aae8627 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -14,7 +14,6 @@ fi lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ while read device; do echo $device - cryptsetup isLuks $device if [[ $(cryptsetup isLuks $device) == 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 diff --git a/setup.sh b/setup.sh index f4ce40a..3f10c43 100644 --- a/setup.sh +++ b/setup.sh @@ -1,4 +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 +chmod 4755 nuke_me_NOW.sh \ No newline at end of file