mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2025-01-09 21:22:20 +00:00
Added Hardware Acceleration to emby_setup.sh
This commit is contained in:
parent
33fc73868e
commit
9fb3ab26b8
|
@ -38,7 +38,16 @@ apt -qqy install \
|
||||||
curl \
|
curl \
|
||||||
sudo \
|
sudo \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
gnupg &>/dev/null
|
gnupg \
|
||||||
|
va-driver-all \
|
||||||
|
ocl-icd-libopencl1 \
|
||||||
|
beignet-opencl-icd &>/dev/null
|
||||||
|
|
||||||
|
echo -e "${CHECKMARK} \e[1;92m Configure Hardware Acceleration... \e[0m"
|
||||||
|
|
||||||
|
/bin/chgrp video /dev/dri
|
||||||
|
/bin/chmod 755 /dev/dri
|
||||||
|
/bin/chmod 660 /dev/dri/*
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Downloading Emby Server... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Downloading Emby Server... \e[0m"
|
||||||
wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb &>/dev/null
|
wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.6.7.0/emby-server-deb_4.6.7.0_amd64.deb &>/dev/null
|
||||||
|
@ -60,4 +69,4 @@ EOF
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
||||||
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /emby_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
|
Loading…
Reference in a new issue