summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 096b28a..fcea104 100755
--- a/etc/pccard_ether
+++ b/etc/pccard_ether
@@ -81,6 +81,7 @@ stop_dhcp() {
}
start_dhcp() {
+ stop_dhcp
case ${pccard_ether_delay} in
[Nn][Oo])
;;
@@ -88,7 +89,6 @@ start_dhcp() {
sleep ${pccard_ether_delay}
;;
esac
- stop_dhcp
[ -n "$dhcp_program" ] && dhclient_program="$dhcp_program"
[ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags"
if [ -x "${dhclient_program}" ]; then
OpenPOWER on IntegriCloud