mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 19:55:26 +03:00
fix symlink call
This commit is contained in:
parent
df87d799fe
commit
7a5b951a95
@ -46,7 +46,7 @@ class Rknn(DetectionApi):
|
|||||||
# create symlink for Home Assistant add on
|
# create symlink for Home Assistant add on
|
||||||
if not os.path.isfile("/proc/device-tree/compatible"):
|
if not os.path.isfile("/proc/device-tree/compatible"):
|
||||||
if os.path.isfile("/device-tree/compatible"):
|
if os.path.isfile("/device-tree/compatible"):
|
||||||
os.symlink("/proc/device-tree/compatible", "/device-tree/compatible")
|
os.symlink("/device-tree/compatible", "/proc/device-tree/compatible")
|
||||||
|
|
||||||
# find out SoC
|
# find out SoC
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user