Maybe defaulting to turning everything off when the script runs wasn't a great idea

This commit is contained in:
Joey Hafner 2024-03-02 00:52:59 -08:00
parent 396ce8b23e
commit 8c53033159

View File

@ -1,9 +1,11 @@
#!/bin/bash
#set -x # debugging flag
# Clean up any remnants from unclean shutdown
docker stop $(docker ps -q) # shut down running containers
docker rm $(docker ps -aq) # remove all containers
if "$1" == "clean"; then
# Clean up any remnants from unclean shutdown
docker stop $(docker ps -q) # shut down running containers
docker rm $(docker ps -aq) # remove all containers
fi
# Check for network mounted devices
# NAS SMB