mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update plex-install.sh
hardware acceleration - check for privileged/unprivileged
This commit is contained in:
		
							parent
							
								
									40724f6434
								
							
						
					
					
						commit
						e6d2cbc812
					
				| @ -74,6 +74,7 @@ apt-get install -y sudo &>/dev/null | |||||||
| apt-get install -y gnupg &>/dev/null | apt-get install -y gnupg &>/dev/null | ||||||
| msg_ok "Installed Dependencies" | msg_ok "Installed Dependencies" | ||||||
| 
 | 
 | ||||||
|  | if [[ -z "$(grep -w "100000" /proc/self/uid_map)" ]]; then | ||||||
| msg_info "Setting Up Hardware Acceleration"   | msg_info "Setting Up Hardware Acceleration"   | ||||||
| apt-get -y install \ | apt-get -y install \ | ||||||
|     va-driver-all \ |     va-driver-all \ | ||||||
| @ -84,6 +85,7 @@ apt-get -y install \ | |||||||
| /bin/chmod 755 /dev/dri | /bin/chmod 755 /dev/dri | ||||||
| /bin/chmod 660 /dev/dri/* | /bin/chmod 660 /dev/dri/* | ||||||
| msg_ok "Set Up Hardware Acceleration"   | msg_ok "Set Up Hardware Acceleration"   | ||||||
|  | fi | ||||||
| 
 | 
 | ||||||
| msg_info "Setting Up Plex Media Server Repository" | msg_info "Setting Up Plex Media Server Repository" | ||||||
| wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add - &>/dev/null | wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add - &>/dev/null | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user