Update plex-install.sh

This commit is contained in:
tteckster 2022-04-18 18:16:49 -04:00 committed by GitHub
parent b4508b0094
commit 92ecf5a39d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,7 @@ msg_ok "Installed Plex Media Server"
PASS=$(grep -w "root" /etc/shadow | cut -b6); PASS=$(grep -w "root" /etc/shadow | cut -b6);
if [[ $PASS != $ ]]; then if [[ $PASS != $ ]]; then
msg_info "Customizing Container" msg_info "Customizing Container"
rm /etc/motd chmod -x /etc/update-motd.d/*
rm /etc/update-motd.d/10-uname
touch ~/.hushlogin touch ~/.hushlogin
GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf" GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
mkdir -p $(dirname $GETTY_OVERRIDE) mkdir -p $(dirname $GETTY_OVERRIDE)