summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-11-10 19:21:23 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-11-10 19:21:23 +0100
commit45574ccfbfc49796712c60df7be573ad2f076db4 (patch)
treecbb4d4f343c90fd918a7ff73bad5f8ebc03d4da4
parent39023f9d2471d562acdd4fe3fa7327682233d116 (diff)
fix for dhcp works only once (maybe)
-rw-r--r--TODO3
-rw-r--r--src/core/libs/lib-ui-interactive.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/TODO b/TODO
index c3c1e23..2801887 100644
--- a/TODO
+++ b/TODO
@@ -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."