Use new setting: enableAudioScript

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

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

Loading…
Cancel
Save