Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

Added wifibox hostname in banner #68

Open olijf opened 8 years ago

olijf commented 8 years ago

As you requested: https://github.com/Doodle3D/doodle3d-firmware/issues/37 Quite useless, but it was an easy fix.

peteruithoven commented 8 years ago

Nice. A downside is that this happens once, which means people's custom accesspoint name won't show up. Then again I'm not sure this would be possible. The following comment might suggest we could add something to /etc/profile, which would make it dynamic. https://wiki.openwrt.org/doc/howto/snippets#banner_customization What I don't really like is that it needs to use a rest api endpoint, out of which then needs to be parsed the value, using grep and cut. Maybe we could create a small lua script that just prints the hostname and try calling that from /etc/profile?