소스 검색

Add files via upload

tteckster 3 년 전
부모
커밋
5207bb3e8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      misc/frigate-conf.sh

+ 1 - 1
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 <<EOF >> $CTID_CONFIG_PATH
 lxc.autodev: 1
 lxc.hook.autodev: bash -c '$HOOK_SCRIPT'