Init shutdown script, add empty newline to SHUTDOWN.md

This commit is contained in:
Joey Hafner 2024-02-11 16:31:28 -08:00
parent 8e4a32dc46
commit 6c5e4df8c6
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
for stack in /home/admin/homelab/fighter/config/*; do cd $stack && docker-compose down; done
sudo umount /mnt/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
sudo shutdown now