Skip to content

Commit

Permalink
Update re-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
0mniteck authored Aug 8, 2024
1 parent 3623e4c commit a6ad2ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions re-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rm -f -r /var/snap/docker/*
umount -f /dev/mapper/Luks-Signal
cryptsetup close /dev/mapper/Luks-Signal
systemd-cryptsetup detach Luks-Signal
rm -f -r /var/snap/docker
snap remove docker --purge
systemd-cryptsetup attach Luks-Signal /dev/mmcblk1 && mkdir /var/snap/docker && mount /dev/mapper/Luks-Signal /var/snap/docker && rm -f -r /var/snap/docker/* && chown root:root /var/snap/docker
Expand All @@ -12,7 +12,7 @@ snap disable docker
rm -f -r /var/snap/docker/*
sleep 10
umount -f /dev/mapper/Luks-Signal
systemd-cryptsetup detach /dev/mapper/Luks-Signal
systemd-cryptsetup detach Luks-Signal
rm -f -r /var/snap/docker
sleep 10
snap remove docker --purge
Expand Down

0 comments on commit a6ad2ec

Please sign in to comment.