[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: RE: udhcpc -x hostname:<name> not working on nommu
From: Ian Burns <Ian.Burns () rinstrum ! com>
Date: 2017-05-10 1:21:52
Message-ID: 1B1DBEC4817B9F48AFB0677B5EB66F6E015778C4A8 () SBSERVER ! rinstrumau ! local
[Download RAW message or body]
> How about this:
>
> --- a/networking/udhcp/dhcpc.c
> +++ b/networking/udhcp/dhcpc.c
> @@ -1365,6 +1365,8 @@ int udhcpc_main(int argc UNUSED_PARAM, char **argv)
> /* now it looks similar to udhcpd's config file line:
> * "optname optval", using the common routine: */
> udhcp_str2optset(optstr, &client_config.options);
> + if (colon)
> + *colon = ':'; /* for NOMMU reexec */
> }
>
> if (udhcp_read_interface(client_config.interface,
I can confirm that fixes it. Nice and simple.
Thanks,
Ian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic