add shutdown

This commit is contained in:
Christoph Cullmann 2024-08-18 22:37:59 +02:00
parent 7eb4b143c5
commit 595b46ce96
No known key found for this signature in database

View file

@ -126,6 +126,10 @@ cryptsetup luksClose crypt0
cryptsetup luksClose crypt1 cryptsetup luksClose crypt1
sync sync
# shutdown once
shutdown -h now
# sync all /data after the install # sync all /data after the install
sudo -E rsync -va --delete --one-file-system /nix/data/ root@192.168.13.100:/nix/data/ sudo -E rsync -va --delete --one-file-system /nix/data/ root@192.168.13.100:/nix/data/