From 41672aa265a3e5a02d3c462464465f2162160fca Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 31 Jan 2012 19:25:56 +0000 Subject: [PATCH] Fix cosmetic issue with DHCP sleep timer git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11441 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/restart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-nbroot2/restart b/xCAT-nbroot2/restart index 80ed81795..785110cdc 100755 --- a/xCAT-nbroot2/restart +++ b/xCAT-nbroot2/restart @@ -34,8 +34,8 @@ while [ $WAITING -gt 0 ]; do dhclient -6 -pf $pidfile -nw -lf /var/lib/dhclient/dhclient6.leases $NIC done - echo -n "Waiting 10 seconds for DHCP changes to take effect " - for i in 10 9 8 7 6 5 4 3 2 1; do + echo -en "Waiting 10 seconds for DHCP changes to take effect \r" + for i in 9 8 7 6 5 4 3 2 1; do sleep 1 echo -en "Waiting $i seconds for DHCP changes to take effect \r" done