diff --git a/artix_scripts/destroy.sh b/artix_scripts/destroy.sh new file mode 100644 index 0000000..ab6fdc8 --- /dev/null +++ b/artix_scripts/destroy.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source env.sh + +umount -R /mnt/ +cryptsetup close $CRYPT_N +lvchange -an $LVM_N/volRoot +lvchange -an $LVM_N/volHome +swapoff $LVM_N/volSwap +lvchange -an $LVM_N/volSwap +wipefs -a $DISK \ No newline at end of file