From a26ec7cee04d4e4a9888c83011129100b6d3cf8e Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 1 Feb 2022 06:01:18 -0500 Subject: [PATCH] Add files via upload --- misc/frigate-conf.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/misc/frigate-conf.sh b/misc/frigate-conf.sh index 553d90a4..0c0882ea 100644 --- a/misc/frigate-conf.sh +++ b/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 <> $CTID_CONFIG_PATH -lxc.cgroup2.devices.allow: a -lxc.cap.drop: lxc.autodev: 1 lxc.hook.autodev: bash -c '$HOOK_SCRIPT' EOF