Use new enableVideoScript

pull/35/head
RandomNinjaAtk 2 years ago committed by GitHub
parent a036bacd7b
commit 1f38e9756a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,10 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ $enableVideoScript != true ]; then
echo "Extended Video script disabled, enable by setting parameter: enableVideoScript=true"
exit
fi
echo "Starting Script...." echo "Starting Script...."
processstartid="$(ps -A -o pid,cmd|grep "/config/extended/scripts/start_video.sh" | grep -v grep | head -n 1 | awk '{print $1}')" processstartid="$(ps -A -o pid,cmd|grep "/config/extended/scripts/start_video.sh" | grep -v grep | head -n 1 | awk '{print $1}')"
echo "To kill script, use the following command:" echo "To kill script, use the following command:"

Loading…
Cancel
Save