Add files via upload

This commit is contained in:
tteckster 2022-01-25 20:41:08 -05:00 committed by GitHub
parent d294bc9d1c
commit 10e5e94860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/*