0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 02:53:49 +01:00

Added doodle3D hostname in banner

This commit is contained in:
olijf 2016-06-03 12:55:43 +02:00
parent 29599f2da2
commit 47bcb0848b

View File

@ -144,6 +144,7 @@ else
# Note: `crontab -l` will throw an error to stderr because the file does not exist, but that does not matter # Note: `crontab -l` will throw an error to stderr because the file does not exist, but that does not matter
(crontab -l 2> /dev/null; echo "$LOGROTATE_CRON_LINE" ) | crontab - (crontab -l 2> /dev/null; echo "$LOGROTATE_CRON_LINE" ) | crontab -
fi fi
d3dapi p=/info r=GET | grep -o -E '"wifiboxid":"(\w*-*[0-9A-Fa-f]*)"' - | cut -d':' -f2 | cut -d'"' -f2 >> /etc/banner
exit 0 exit 0
EOM EOM