Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk
1b75a6c379 MotionEye: run as root to enable SMB share support 2026-04-04 22:13:32 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ msg_ok "Installed MotionEye"
msg_info "Creating Service"
curl -fsSL "https://raw.githubusercontent.com/motioneye-project/motioneye/dev/motioneye/extra/motioneye.systemd" -o "/etc/systemd/system/motioneye.service"
sed -i 's/^User=.*/User=root/' /etc/systemd/system/motioneye.service
systemctl enable -q --now motioneye
msg_ok "Created Service"

View File

@@ -5035,7 +5035,7 @@ NVIDIA_PIN
local nvidia_glx_dir="/usr/lib/nvidia"
if [[ ! -f "${nvidia_glx_dir}/libGL.so.1" ]] && [[ -d /usr/lib/mesa-diverted ]]; then
msg_info "NVIDIA GLX libs missing in container - falling back to mesa"
update-glx --set glx /usr/lib/mesa-diverted &>/dev/null || true
$STD update-glx --set glx /usr/lib/mesa-diverted 2>/dev/null || true
ldconfig 2>/dev/null || true
fi
fi