From 1f38e9756ae15b0b8e998b3b91b92b4362c117bc Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Fri, 29 Jul 2022 14:45:56 +0000 Subject: [PATCH] Use new enableVideoScript --- root/scripts/start_video.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/root/scripts/start_video.sh b/root/scripts/start_video.sh index 9b01189..4eb74c1 100644 --- a/root/scripts/start_video.sh +++ b/root/scripts/start_video.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +if [ $enableVideoScript != true ]; then + echo "Extended Video script disabled, enable by setting parameter: enableVideoScript=true" + exit +fi + 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}')" echo "To kill script, use the following command:"