|
|
@ -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
|
|
|
|