]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/dhclient-script
dhcp: remove useless delay setting
[people/ms/network.git] / src / dhclient-script
index 212df75d1bf4b86f024832efb8dd0fcd9e62fb10..da77879e4c10f99fa5566add48fa5abc731de5bc 100644 (file)
@@ -168,14 +168,8 @@ case "${reason}" in
                        zone_up ${interface}
                fi
 
-               # If the use configured a delay, we will honour that.
-               if [ -n "${DELAY}"  ]; then
-                       assert isinteger DELAY
-                       sleep ${DELAY}
-
-               # If he didn't, we will try to detect is STP has brought the
-               # bridge up.
-               elif device_is_bridge ${interface}; then
+               # We will try to detect is STP has brought the bridge up
+               if device_is_bridge ${interface}; then
                        counter=60
 
                        while [ ${counter} -gt 0 ]; do