show ifconfig's output while waiting for the ethernet device
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 16 Jun 2015 08:18:53 +0000 (10:18 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 16 Jun 2015 08:18:53 +0000 (10:18 +0200)
initscripts/pl_netinit

index 34375f5..fd97f37 100755 (executable)
@@ -321,6 +321,9 @@ while true; do
        break
     fi
     echo $(date "+%H:%M:%S") " pl_netinit: waiting for device $ETH_DEVICE - ${COUNTER}s/${ALLOW}s"
+    echo ========== ifconfig beg
+    /sbin/ifconfig
+    echo ========== ifconfig end
     COUNTER=$(($COUNTER+1))
     [ $COUNTER -ge $ALLOW ] && net_init_failed
     sleep 1