mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	add hw for immich, openwebui / remove scrypted (#4927)
This commit is contained in:
		@@ -1141,7 +1141,7 @@ EOF
 | 
				
			|||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [ "$CT_TYPE" == "0" ]; then
 | 
					  if [ "$CT_TYPE" == "0" ]; then
 | 
				
			||||||
    if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "ErsatzTV" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" || "$APP" == "Ollama" || "$APP" == "FileFlows" ]]; then
 | 
					    if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "ErsatzTV" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Immich" || "$APP" == "Tdarr" || "$APP" == "Open WebUI" || "$APP" == "Unmanic" || "$APP" == "Ollama" || "$APP" == "FileFlows" ]]; then
 | 
				
			||||||
      cat <<EOF >>"$LXC_CONFIG"
 | 
					      cat <<EOF >>"$LXC_CONFIG"
 | 
				
			||||||
# VAAPI hardware transcoding
 | 
					# VAAPI hardware transcoding
 | 
				
			||||||
lxc.cgroup2.devices.allow: c 226:0 rwm
 | 
					lxc.cgroup2.devices.allow: c 226:0 rwm
 | 
				
			||||||
@@ -1153,7 +1153,7 @@ lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,creat
 | 
				
			|||||||
EOF
 | 
					EOF
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
  else
 | 
					  else
 | 
				
			||||||
    if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "ErsatzTV" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Scrypted" || "$APP" == "Tdarr" || "$APP" == "Unmanic" || "$APP" == "Ollama" || "$APP" == "FileFlows" ]]; then
 | 
					    if [[ "$APP" == "Channels" || "$APP" == "Emby" || "$APP" == "ErsatzTV" || "$APP" == "Frigate" || "$APP" == "Jellyfin" || "$APP" == "Plex" || "$APP" == "Immich" || "$APP" == "Tdarr" || "$APP" == "Open WebUI" || "$APP" == "Unmanic" || "$APP" == "Ollama" || "$APP" == "FileFlows" ]]; then
 | 
				
			||||||
      if [[ -e "/dev/dri/renderD128" ]]; 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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user