You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
455 B
19 lines
455 B
#!/usr/bin/with-contenv bash
|
|
if [ "$enableVideoScript" != "true" ]; then
|
|
echo "Automatic Start Disabled, to enable set enableVideoScript=true"
|
|
echo "Manually run using this command:"
|
|
echo "bash /config/extended/scripts/Video.sh"
|
|
sleep infinity
|
|
fi
|
|
|
|
echo "Starting Video.sh in 2 min..."
|
|
sleep 2m
|
|
for (( ; ; )); do
|
|
let i++
|
|
bash /config/extended/scripts/Video.sh
|
|
echo "Video.sh script sleeping for $scriptInterval..."
|
|
sleep $scriptInterval
|
|
done
|
|
|
|
exit
|