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

Signed-off-by: Sam Nelson <sam.nel...@ti.com>
---
 .../recipes-tisdk/parse-ip/parse-ip/keystone/init  |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init 
b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
index 7f260fb..de4ed8e 100644
--- a/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
+++ b/meta-arago-distro/recipes-tisdk/parse-ip/parse-ip/keystone/init
@@ -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 )
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to