parent
011019b658
commit
ca5e935447
@ -1,13 +1,18 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
if [ "$enableAudioScript" = "true" ]; then
|
if [ "$enableAudioScript" != "true" ]; then
|
||||||
echo "Starting Audio.sh in 2 min..."
|
|
||||||
sleep 2m
|
|
||||||
bash /config/extended/scripts/Audio.sh
|
|
||||||
else
|
|
||||||
echo "Automatic Start Disabled, to enable set enableAudioScript=true"
|
echo "Automatic Start Disabled, to enable set enableAudioScript=true"
|
||||||
echo "Manually run using this command:"
|
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
|
||||||
|
|
||||||
exit $?
|
echo "Starting Audio.sh in 2 min..."
|
||||||
|
sleep 2m
|
||||||
|
for (( ; ; )); do
|
||||||
|
let i++
|
||||||
|
bash /config/extended/scripts/Audio.sh
|
||||||
|
echo "Audio.sh script sleeping for $scriptInterval..."
|
||||||
|
sleep $scriptInterval
|
||||||
|
done
|
||||||
|
|
||||||
|
exit
|
||||||
|
Loading…
Reference in new issue