mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Add files via upload
This commit is contained in:
parent
d294bc9d1c
commit
10e5e94860
@ -33,7 +33,7 @@ echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
||||
apt update &>/dev/null
|
||||
apt-get -qqy upgrade &>/dev/null
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Dependecies... \e[0m"
|
||||
apt-get -qqy install \
|
||||
curl \
|
||||
sudo \
|
||||
@ -50,7 +50,8 @@ apt-get -qqy install \
|
||||
/bin/chmod 660 /dev/dri/*
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Setting Up Jellyfin Repository... \e[0m"
|
||||
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - &>/dev/null
|
||||
wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key &>/dev/null
|
||||
apt-key add - &>/dev/null
|
||||
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/debian bullseye main" | tee /etc/apt/sources.list.d/jellyfin.list &>/dev/null
|
||||
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin... \e[0m"
|
||||
apt update &>/dev/null
|
||||
@ -67,6 +68,6 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
sudo systemctl enable jellyfin
|
||||
sudo systemctl enable jellyfin &>/dev/null
|
||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
||||
rm -rf /jellyfin_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
|
Loading…
Reference in New Issue
Block a user