Allow for gracefull shutdows

NOTE: This only works on fresh installs. If you want to convert an existing installation to use this feature, you need to update /usr/local/bin/agent.sh on the guest and /storage/agent.ver on the host.
This commit is contained in:
Kroese
2023-04-10 21:05:34 +02:00
parent 70138041b7
commit b65d7b11c2
4 changed files with 61 additions and 23 deletions
-1
View File
@@ -7,7 +7,6 @@
permanent="DSM"
serialstart="2000"
IMG="/storage"
[ ! -d "$IMG" ] && echo "Storage folder (${IMG}) not found!" && exit 69
#If environment variabele not set fall back to file