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