diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-05 21:03:17 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-05 21:03:17 +0100 |
commit | 316afee4ea5b49bf75eb66b7e95c3ad3bd0ef21e (patch) | |
tree | aaca80a75ff17d9e754c10293c6f12a73b495a96 | |
parent | 3bae4b8c3c88b6a42c1ee14267648f47ddbcd989 (diff) |
fix for killing dhcpcd. Thanks Gerhard B.!
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 3 |
2 files changed, 1 insertions, 6 deletions
@@ -35,10 +35,6 @@ CURRENT ISSUES: * port from /arch/setup: grub install chroot thing (http://projects.archlinux.org/?p=installer.git;a=commitdiff;h=4565577dbd2182dd49612f1e0b68288f5573bf7b) (waiting for ticket http://bugs.archlinux.org/task/13277) * ext4 default options? -O dir_index,extent,uninit_bg ? * find a way to not have to preload libs and stuff, only load them when needed. -> faster start of install program -* if dhcpd already runs for $reason, the installer will try again @ configure network and fail. - i tried killall dhcpd, killall -9 dhcpd first but that didn't help: it can't kill the process or something... - I can also add something like for iface in `moo` (or only the one selected iface); do ifconfig $iface down; - ifconfig $iface up; done, and then dhcpd again * core/interactive: do not check hard for the dependencies. a user could really know what he's doing or need to reboot after partitioning a disk and skip that check or something. Alternatively, maybe just show which steps are done successfully in the main menu * support maybe ntp to set clock diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index bd66038..85b9b58 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -637,8 +637,7 @@ interactive_runtime_network() { ask_yesno "Do you want to use DHCP?" if [ $? -eq 0 ]; then infofy "Please wait. Polling for DHCP server on $INTERFACE..." - killall dhcpd - killall -9 dhcpd + dhcpcd -k $INTERFACE >$LOG 2>&1 sleep 1 dhcpcd $INTERFACE >$LOG 2>&1 if [ $? -ne 0 ]; then |