Update viseron-install.sh

This commit is contained in:
CanbiZ 2025-08-05 07:56:47 +02:00
parent 3c694aad16
commit ceb414d967

View File

@ -24,6 +24,14 @@ $STD apt-get install -y \
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav
msg_ok "Installed Dependencies"
msg_info "Setting up Hardware Acceleration"
if [[ "$CTTYPE" == "0" ]]; then
chgrp video /dev/dri
chmod 755 /dev/dri
chmod 660 /dev/dri/*
fi
msg_ok "Hardware Acceleration Configured"
msg_info "Setting up Python Environment with uv"
cd /opt
uv venv viseron
@ -119,14 +127,6 @@ EOF
systemctl enable -q --now viseron
msg_ok "Created Systemd Service"
msg_info "Setting up Hardware Acceleration"
if [[ "$CTTYPE" == "0" ]]; then
chgrp video /dev/dri
chmod 755 /dev/dri
chmod 660 /dev/dri/*
fi
msg_ok "Hardware Acceleration Configured"
motd_ssh
customize