浏览代码

Update plex-install.sh

tteckster 3 年之前
父节点
当前提交
92ecf5a39d
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      setup/plex-install.sh

+ 1 - 2
setup/plex-install.sh

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