motd for mesh clients
This commit is contained in:
parent
0206945fac
commit
ac39c27ec8
|
@ -195,8 +195,9 @@ iface eth0 inet static
|
||||||
sed -i "s/nameserver.*/nameserver $NAMESERVER1/g" $rootdir/etc/resolv.conf
|
sed -i "s/nameserver.*/nameserver $NAMESERVER1/g" $rootdir/etc/resolv.conf
|
||||||
sed -i "/nameserver $NAMESERVER1/a\nameserver $NAMESERVER2" $rootdir/etc/resolv.conf
|
sed -i "/nameserver $NAMESERVER1/a\nameserver $NAMESERVER2" $rootdir/etc/resolv.conf
|
||||||
|
|
||||||
# change the motd to show further install instructions
|
if [[ $VARIANT != "meshclient" && $VARIANT != "meshusb" ]]; then
|
||||||
echo $"
|
# change the motd to show further install instructions
|
||||||
|
echo $"
|
||||||
.---. . .
|
.---. . .
|
||||||
| | |
|
| | |
|
||||||
|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
@ -212,6 +213,17 @@ following commands, then enter your details.
|
||||||
${PROJECT_NAME} menuconfig
|
${PROJECT_NAME} menuconfig
|
||||||
|
|
||||||
" > $rootdir/etc/motd
|
" > $rootdir/etc/motd
|
||||||
|
else
|
||||||
|
echo $"
|
||||||
|
.---. . .
|
||||||
|
| | |
|
||||||
|
|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-.
|
||||||
|
| | (.-' (.-' ( | ( )| | | | )( )| | (.-'
|
||||||
|
' ' --' --' -' - -' ' ' -' -' -' ' - --'
|
||||||
|
|
||||||
|
Freedom in the Mesh
|
||||||
|
" > $rootdir/etc/motd
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_ssh() {
|
configure_ssh() {
|
||||||
|
|
Loading…
Reference in New Issue