From ac39c27ec8d0b05418e6678631a98e7cabb5ba47 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 24 Jun 2016 12:20:05 +0100 Subject: [PATCH] motd for mesh clients --- src/freedombone-image-customise | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 6817fa67..e5345fae 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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() {