mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
Added doodle3D hostname in banner
This commit is contained in:
parent
29599f2da2
commit
47bcb0848b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user