mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 04:35:25 +03:00
remove fix for HA add-on
This commit is contained in:
parent
d0b0c7557a
commit
55e50e9dee
@ -42,11 +42,6 @@ class Rknn(DetectionApi):
|
|||||||
type_key = DETECTOR_KEY
|
type_key = DETECTOR_KEY
|
||||||
|
|
||||||
def __init__(self, config: RknnDetectorConfig):
|
def __init__(self, config: RknnDetectorConfig):
|
||||||
# create symlink for Home Assistant add on
|
|
||||||
if not os.path.isfile("/proc/device-tree/compatible"):
|
|
||||||
if os.path.isfile("/device-tree/compatible"):
|
|
||||||
os.symlink("/device-tree/compatible", "/proc/device-tree/compatible")
|
|
||||||
|
|
||||||
# find out SoC
|
# find out SoC
|
||||||
try:
|
try:
|
||||||
with open("/proc/device-tree/compatible") as file:
|
with open("/proc/device-tree/compatible") as file:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user