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
This commit is contained in:
parent
b8e6eadfaa
commit
41672aa265
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user