Skip to content
Snippets Groups Projects
Commit ac39c27e authored by Bob Mottram's avatar Bob Mottram
Browse files

motd for mesh clients

parent 0206945f
No related branches found
No related tags found
No related merge requests found
......@@ -195,8 +195,9 @@ iface eth0 inet static
sed -i "s/nameserver.*/nameserver $NAMESERVER1/g" $rootdir/etc/resolv.conf
sed -i "/nameserver $NAMESERVER1/a\nameserver $NAMESERVER2" $rootdir/etc/resolv.conf
# change the motd to show further install instructions
echo $"
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
# change the motd to show further install instructions
echo $"
.---. . .
| | |
|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
......@@ -212,6 +213,17 @@ following commands, then enter your details.
${PROJECT_NAME} menuconfig
" > $rootdir/etc/motd
else
echo $"
.---. . .
| | |
|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
| | (.-' (.-' ( | ( )| | | | )( )| | (.-'
' ' --' --' -' - -' ' ' -' -' -' ' - --'
Freedom in the Mesh
" > $rootdir/etc/motd
fi
}
configure_ssh() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment