Browse Source

Update gamuntu-install.sh

tteckster 3 năm trước cách đây
mục cha
commit
c90531ecda
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      setup/gamuntu-install.sh

+ 1 - 2
setup/gamuntu-install.sh

@@ -110,8 +110,7 @@ echo -e "${CM}${CL} \r"
 PASS=$(grep -w "root" /etc/shadow | cut -b6);
   if [[ $PASS != $ ]]; then
 echo -en "${GN} 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)