diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 19:21:23 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-10 19:21:23 +0100 |
commit | 45574ccfbfc49796712c60df7be573ad2f076db4 (patch) | |
tree | cbb4d4f343c90fd918a7ff73bad5f8ebc03d4da4 | |
parent | 39023f9d2471d562acdd4fe3fa7327682233d116 (diff) |
fix for dhcp works only once (maybe)
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -6,7 +6,7 @@ PRE-ALPHA PHASE: get it sort of reasonably working -> fixed i think * no default mirrorlist? -> fixed i think * can't return to main menu after mirror selection/network setup. maybe because network setup failed -(if i say network is ok, it's ok though) +(if i say network is ok, it's ok though) -> fixed i think ALPHA PHASE: get some people to test and suggest ideas, while fixing bugs @@ -37,6 +37,7 @@ BETA PHASE: try to get fifa on the (beta) installcd as an experimental, alternat * setup bugtracker/roadmap thingie * fix everything * if dhcpd already runs for $reason, the installer will try again @ configure network and fail +-> fixed i think PRODUCTION PHASE: totally replace /arch/setup and /arch/quickinst * fix everything even more diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index a35ae90..b494dba 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -451,6 +451,9 @@ interactive_runtime_network() { ask_yesno "Do you want to use DHCP?" 0 0 if [ $? -eq 0 ]; then infofy "Please wait. Polling for DHCP server on $INTERFACE..." + killall dhcpd + killall -9 dhcpd + sleep 1 dhcpcd $INTERFACE >$LOG 2>&1 if [ $? -ne 0 ]; then notify "Failed to run dhcpcd. See $LOG for details." |