|
|
@ -595,6 +595,7 @@ EOF |
|
|
|
fi |
|
|
|
fi |
|
|
|
else |
|
|
|
else |
|
|
|
if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then |
|
|
|
if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" ]]; then |
|
|
|
|
|
|
|
if [[ -e "/dev/dri/renderD128" ]]; then |
|
|
|
if [[ -e "/dev/dri/card0" ]]; then |
|
|
|
if [[ -e "/dev/dri/card0" ]]; then |
|
|
|
cat <<EOF >>$LXC_CONFIG |
|
|
|
cat <<EOF >>$LXC_CONFIG |
|
|
|
# VAAPI hardware transcoding |
|
|
|
# VAAPI hardware transcoding |
|
|
@ -610,6 +611,7 @@ EOF |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# This starts the container and executes <app>-install.sh |
|
|
|
# This starts the container and executes <app>-install.sh |
|
|
|
msg_info "Starting LXC Container" |
|
|
|
msg_info "Starting LXC Container" |
|
|
|