I should drink more coffee before starting committing. Revert the last change
authorMatthias Schmidt <matthias@dragonflybsd.org>
Tue, 16 Sep 2008 11:37:41 +0000 (16 11:37 +0000)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Tue, 16 Sep 2008 11:37:41 +0000 (16 11:37 +0000)
as 2.0 contains the ISC dhcp client.  Thanks to hasso@ for bringing this to
my attention.

contrib/bsdinstaller-1.1.6/src/backend/installer/fn_configure.c

index f3160b3..10206d3 100644 (file)
@@ -970,7 +970,7 @@ fn_assign_ip(struct i_fn_args *a)
                cmd = command_add(cmds, "%s%s dhclient",
                    a->os_root, cmd_name(a, "KILLALL"));
                command_set_failure_mode(cmd, COMMAND_FAILURE_IGNORE);
-               command_add(cmds, "%s%s %s",
+               command_add(cmds, "%s%s -1 %s",
                    a->os_root, cmd_name(a, "DHCLIENT"),
                    interface);
                if (commands_execute(a, cmds)) {