Only run one time in the event of a misconfiguration...

#244 - Protect the user from themself... not a bug fix...
This commit is contained in:
RandomNinjaAtk 2024-04-23 14:00:24 +00:00 committed by GitHub
parent f38b6a7c9d
commit 9c0c370b83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash
SMA_PATH="/usr/local/sma"
version="1.2"
version="1.3"
echo "*** install packages ***" && \
apk add -U --upgrade --no-cache \
@ -152,4 +152,9 @@ fi
chmod 777 -R /config/extended
chmod 777 -R /root
if [ -f /custom-services.d/scripts_init.bash ]; then
# user misconfiguration detected, sleeping...
sleep infinity
fi
exit