|
|
@ -52,7 +52,7 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840
|
|
|
|
EOF
|
|
|
|
EOF
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|
|
|
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|
|
|
node-red-start &>/dev/null
|
|
|
|
systemctl start nodered.service &>/dev/null
|
|
|
|
systemctl enable nodered.service &>/dev/null
|
|
|
|
systemctl enable nodered.service &>/dev/null
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
|
|
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
|
|
|
rm -rf /node-red_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
|
|
|
rm -rf /node-red_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
|
|
|