Browse Source

Add files via upload

tteckster 3 years ago
parent
commit
a26ec7cee0
1 changed files with 0 additions and 4 deletions
  1. 0 4
      misc/frigate-conf.sh

+ 0 - 4
misc/frigate-conf.sh

@@ -64,13 +64,9 @@ HOOK_SCRIPT=${HOOK_SCRIPT//$'\n'/}
 CTID=$1
 CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
 sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
-sed '/devices/d' $CTID_CONFIG_PATH >CTID.conf
-sed '/cap/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