Simplify startup process, remove autoStart setting

pull/139/head
RandomNinjaAtk 2 years ago committed by GitHub
parent 8ac169259d
commit b9203b5ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,11 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
if [ "$autoStart" = "true" ] && [ "$enableAudioScript" = "true" ]; then if [ "$enableAudioScript" = "true" ]; then
echo "Automatic Start Enabled, starting in 2 min..." echo "Starting Audio.sh in 2 min..."
sleep 2m sleep 2m
bash /config/extended/scripts/Audio.sh bash /config/extended/scripts/Audio.sh
else else
echo "Automatic Start Disabled, manually run using this command:" echo "Automatic Start Disabled, to enable set enableAudioScript=true"
echo "Manually run using this command:"
echo "bash /config/extended/scripts/Audio.sh" echo "bash /config/extended/scripts/Audio.sh"
sleep infinity sleep infinity
fi fi

Loading…
Cancel
Save