Update node-red_setup.sh

This commit is contained in:
tteckster 2022-01-29 17:54:17 -05:00 committed by GitHub
parent 8e962f83a2
commit dab8a7388d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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