1761202499
This commit is contained in:
@@ -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,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
|
||||||
Reference in New Issue
Block a user