Update jellyfin2_setup.sh

This commit is contained in:
tteckster 2022-02-09 04:01:43 -05:00 committed by GitHub
parent c665358d21
commit aa3d4b2cd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,8 +84,8 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
EOF 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//')
usermod -a -G input jellyfin #usermod -a -G input jellyfin
usermod -a -G render jellyfin #usermod -a -G render jellyfin
systemctl enable jellyfin &>/dev/null systemctl enable jellyfin &>/dev/null
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
rm -rf /jellyfin2_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* rm -rf /jellyfin2_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*