浏览代码

Update node-red_setup.sh

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

+ 3 - 3
setup/node-red_setup.sh

@@ -40,9 +40,9 @@ echo -e "${CHECKMARK} \e[1;92m Installing Node-Red... \e[0m"
 bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi
 
 echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
-rm /etc/motd # Remove message of the day after login
-rm /etc/update-motd.d/10-uname # Remove kernel information after login
-touch ~/.hushlogin # Remove 'Last login: ' and mail notification after login
+rm /etc/motd 
+rm /etc/update-motd.d/10-uname
+touch ~/.hushlogin
 GETTY_OVERRIDE="/etc/systemd/system/container-getty@1.service.d/override.conf"
 mkdir -p $(dirname $GETTY_OVERRIDE)
 cat << EOF > $GETTY_OVERRIDE