浏览代码

Add files via upload

tteckster 3 年之前
父节点
当前提交
80277f124d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      misc/frigate-conf.sh

+ 2 - 0
misc/frigate-conf.sh

@@ -67,6 +67,8 @@ sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
 cat CTID.conf >$CTID_CONFIG_PATH
 
 cat <<EOF >> $CTID_CONFIG_PATH
+lxc.cgroup2.devices.allow: a
+lxc.cap.drop:
 lxc.autodev: 1
 lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
 EOF