Skip to contentSkip to conversation

parse-ip: Update init script for keystone

PATCH New Sam Nelson 1 participant 1 message Oct 22, 2015

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 parse-ip: Update init script for keystone

- Script update to make the display of IP address more robust

---
 .../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
index 7f260fb..de4ed8e 100644
@@ -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