diff options
author | Wade Berrier <wberrier@gmail.com> | 2008-11-15 00:18:45 +0300 |
---|---|---|
committer | Wade Berrier <wberrier@gmail.com> | 2008-11-15 00:18:45 +0300 |
commit | 142c5cb2a2a7bdceeebec7a55759852bb7ada066 (patch) | |
tree | 088895cbbd41ed88152a84e690f6d9e38818fa3e /networking/Config.in | |
parent | 86c285d9003b3b8196707130d48d5c698b6cd3d3 (diff) |
ifupdown.c: allow options to udhcpc to be configurable from .config
This allows more control over options that are passed to udhcpc
that are not configurable via /etc/network/interfaces.
Example: rather than quit when an initial lease isn't found,
you could use "--background" so that udhcpc keeps running and
continually attempts to get an ip. That way, when you plug in
the ethernet after powering on the device, you'll still get an ip.
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/networking/Config.in b/networking/Config.in index 95f894230..735415ccb 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -858,6 +858,15 @@ config FEATURE_TRACEROUTE_USE_ICMP source networking/udhcp/Config.in +config IFUPDOWN_UDHCPC_CMD_OPTIONS + string "ifup udhcpc command line options" + default "-R -n" + depends on IFUPDOWN && APP_UDHCPC + help + Command line options to pass to udhcpc from ifup. + Intended to alter options not available in /etc/network/interfaces. + (IE: --syslog --background etc...) + config VCONFIG bool "vconfig" default n |