busybox: Support option 119 in udhcpc default script.
authorIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Thu, 31 Mar 2016 07:34:43 +0000 (09:34 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 24 Apr 2016 18:58:39 +0000 (20:58 +0200)
commitd5e143dcfb007d53aa872dafa968bfb078c9d724
tree2c0efff21cfccbe1db398257ef1945aee461c5e2
parent66bdd08a82b4f9a4f8c849bb2484e0776263d83b
busybox: Support option 119 in udhcpc default script.

* package/busybox/udhcpc.script: Use $search instead of $domain if
  that is defined.

Note that for this to work, not only has CONFIG_FEATURE_UDHCP_RFC3397
be enabled in Busybox' configuration but also the option has to be
requested using the "-O search" command-line option (one can set it in
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS, for instance).

[Peter: add comment with reference to rfc3359/option 119 for clarity]
Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/busybox/udhcpc.script