aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-20 07:12:21 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-20 07:12:21 +0100
commit0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf (patch)
tree40a176b78edf6b6bc02cbca31d82892e1d23fe8e /examples
parenta953987e778e1a89d9371df99b243e7b57b22a07 (diff)
downloadbusybox-w32-0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf.tar.gz
busybox-w32-0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf.tar.bz2
busybox-w32-0f62c4d065bc7fa9d3de52a8482bf48ecfd18ecf.zip
udhcpd: remove five more options which do not make sense or not supported
requestip, vendorclass, clientid are client-side variables, they do not make sense as udhcpd opts dhcptype is the packet type (not interesting, it's always 5) userclass needs parser support in order to work function old new delta dhcp_options 68 66 -2 read_opt 865 859 -6 dhcp_option_strings 253 203 -50 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-58) Total: -58 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/udhcp/udhcpd.conf50
1 files changed, 29 insertions, 21 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf
index 1e05435d4..7fc37ab00 100644
--- a/examples/udhcp/udhcpd.conf
+++ b/examples/udhcp/udhcpd.conf
@@ -63,27 +63,35 @@ option domain local
63option lease 864000 # 10 days of seconds 63option lease 864000 # 10 days of seconds
64 64
65# Currently supported options (for more info, see options.c): 65# Currently supported options (for more info, see options.c):
66#opt subnet 66#opt lease NUM
67#opt timezone 67#opt subnet IP
68#opt router 68#opt broadcast IP
69#opt timesrv 69#opt router IP_LIST
70#opt namesrv - obsolete, disabled 70#opt ipttl NUM
71#opt dns 71#opt mtu NUM
72#opt logsrv 72#opt hostname STRING - client's hostname
73#opt cookiesrv - rarely (never?) used, disabled 73#opt domain STRING - client's domain name
74#opt lprsrv 74#opt search STRING_LIST - search domains
75#opt bootsize 75#opt nisdomain STRING
76#opt domain 76#opt timezone NUM
77#opt swapsrv 77#opt tftp STRING - TFTP server name
78#opt rootpath 78#opt bootfile STRING - file (kernel image) to load for booting
79#opt ipttl 79#opt bootsize NUM - size of that file
80#opt mtu 80#opt rootpath STRING - (NFS) path to mount as root fs
81#opt broadcast 81#opt wpad STRING
82#opt wins 82#opt serverid IP - by default, server's IP
83#opt lease 83#opt message STRING - error message (udhcpd sends it on success too)
84#opt ntpsrv 84# Options specifying server(s)
85#opt tftp 85#opt dns IP_LIST
86#opt bootfile 86#opt wins IP_LIST
87#opt nissrv IP_LIST
88#opt namesrv IP_LIST - obsolete, disabled
89#opt logsrv IP_LIST
90#opt cookiesrv IP_LIST - rarely (never?) used, disabled
91#opt lprsrv IP_LIST
92#opt swapsrv IP
93#opt timesrv IP_LIST
94#opt ntpsrv IP_LIST
87 95
88# Static leases map 96# Static leases map
89#static_lease 00:60:08:11:CE:4E 192.168.0.54 97#static_lease 00:60:08:11:CE:4E 192.168.0.54