2024-02-11 16:31:28 -08:00
|
|
|
#!/bin/bash
|
2024-02-20 11:38:30 -08:00
|
|
|
for stack in /home/admin/homelab/fighter/config/*; do cd $stack && docker compose down; done
|
2024-03-09 01:04:44 -08:00
|
|
|
|
|
|
|
## I don't think unmounting each mount is actually necessary or useful.
|
|
|
|
#sudo umount /mnt/nas/iscsi
|
|
|
|
#sudo iscsiadm --mode node --targetname "iqn.2020-03.net.jafner:fighter" --portal "192.168.1.10:3260" --logout
|
|
|
|
#for mount in media calibre-web torrenting av; do sudo umount /mnt/nas/$mount; done
|
2024-02-11 16:31:28 -08:00
|
|
|
sudo shutdown now
|