summaryrefslogtreecommitdiff
path: root/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix
diff options
context:
space:
mode:
Diffstat (limited to 'packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix')
-rw-r--r--packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix12
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix b/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix
deleted file mode 100644
index 7d2e9705ea..0000000000
--- a/packages/netbase/netbase/slugos/if-pre-up.d/udhcpc-fix
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# This works around a problem where udhcpc times out w/o getting a lease
-# due to slow auto-negotiate.
-
-if test "$IFACE" = "eth0" -a "$METHOD" = "dhcp"
-then
- echo -n "[sleeping 5s]..."
- ifconfig eth0 up
- sleep 5
-fi
-