mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-18 04:07:16 +00:00
Move needless sleep 20 into ppc64 only branch
This commit is contained in:
@@ -42,8 +42,6 @@ while :; do screen -ln < /dev/tty2 > /dev/tty2 2>&1; done &
|
||||
|
||||
# The section below is just for System P LE hardware discovery
|
||||
|
||||
# Need to wait for NIC initialization
|
||||
sleep 20
|
||||
ARCH=`uname -m`
|
||||
#For Openpower
|
||||
if [ $ARCH = "ppc64le" ]; then
|
||||
@@ -51,6 +49,8 @@ if [ $ARCH = "ppc64le" ]; then
|
||||
fi
|
||||
|
||||
if [ $ARCH == 'ppc64' ]; then
|
||||
# Need to wait for NIC initialization
|
||||
sleep 20
|
||||
waittime=2
|
||||
ALL_NICS=`ip link show | grep -v "^ " | awk '{print $2}' | sed -e 's/:$//' | grep -v lo`
|
||||
for tmp in $ALL_NICS; do
|
||||
|
||||
Reference in New Issue
Block a user