diff --git a/misc/frigate-conf.sh b/misc/frigate-conf.sh index 524661d7..53957797 100644 --- a/misc/frigate-conf.sh +++ b/misc/frigate-conf.sh @@ -66,7 +66,7 @@ CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf cat CTID.conf >$CTID_CONFIG_PATH -if [[ $CTID_CONFIG_PATH =~ [testing] ]];then +if $CTID_CONFIG_PATH =~ [testing];then cat <> $CTID_CONFIG_PATH lxc.autodev: 1 lxc.hook.autodev: bash -c '$HOOK_SCRIPT'