Explorar o código

Update gamuntu-install.sh

tteckster %!s(int64=3) %!d(string=hai) anos
pai
achega
c90531ecda
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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)