Add artix destroy script, 2

This commit is contained in:
git
2024-06-11 14:14:54 +02:00
parent 3bab2eb077
commit cd77accea5

11
artix_scripts/destroy.sh Normal file
View File

@@ -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