parse-ip: Update init script for keystone
PATCH 1/1 parse-ip: Update init script for keystone
- Script update to make the display of IP address more robust
Signed-off-by Sam Nelson <[email protected]>
--- .../recipes-tisdk/parse-ip/parse-ip/keystone/init | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init +6 -2
@@ -32,13 +32,17 @@ case "$1" in start ) - echo '#>>>>> LCD 12' > ipaddr + echo ' ' > ipaddr + echo ' ' >> ipaddr + echo '#>>>>> LCD 12' >> ipaddr echo 'IP Address:' >> ipaddr cat ipaddr + wait + sleep 1 echo `ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{print $1}'` > ipaddr cat ipaddr - + wait sleep 1 ;; stop )
Signature · 1 line
1.7.9.5