From 47bcb0848bd79a06bebd16c9528c3cfb6ab0bacb Mon Sep 17 00:00:00 2001 From: olijf Date: Fri, 3 Jun 2016 12:55:43 +0200 Subject: [PATCH] Added doodle3D hostname in banner --- post-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/post-install.sh b/post-install.sh index 1e20973..0fc93ef 100644 --- a/post-install.sh +++ b/post-install.sh @@ -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 (crontab -l 2> /dev/null; echo "$LOGROTATE_CRON_LINE" ) | crontab - 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 EOM