udhcp: remove support for some really old and odd options
function old new delta dhcp_options 72 68 -4 dhcp_option_strings 271 253 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -8,8 +8,8 @@ end 192.168.0.254
|
||||
# The interface that udhcpd will use
|
||||
interface eth0
|
||||
|
||||
# The maximim number of leases (includes addresses reserved
|
||||
# by OFFER's, DECLINE's, and ARP conficts). Will be corrected
|
||||
# The maximum number of leases (includes addresses reserved
|
||||
# by OFFER's, DECLINE's, and ARP conflicts). Will be corrected
|
||||
# if it's bigger than IP lease block, but it ok to make it
|
||||
# smaller than lease block.
|
||||
#max_leases 254
|
||||
@@ -24,7 +24,7 @@ interface eth0
|
||||
#decline_time 3600
|
||||
|
||||
# The amount of time that an IP will be reserved
|
||||
# if an ARP conflct occurs (seconds).
|
||||
# if an ARP conflict occurs (seconds).
|
||||
#conflict_time 3600
|
||||
|
||||
# How long an offered address is reserved (seconds).
|
||||
@@ -40,7 +40,7 @@ interface eth0
|
||||
# The location of the pid file
|
||||
#pidfile /var/run/udhcpd.pid
|
||||
|
||||
# Everytime udhcpd writes a leases file, the below script will be called.
|
||||
# Every time udhcpd writes a leases file, the below script will be called.
|
||||
#notify_file # default: no script
|
||||
#notify_file dumpleases # useful for debugging
|
||||
|
||||
@@ -49,7 +49,7 @@ interface eth0
|
||||
#sname zorak #default: none
|
||||
#boot_file /var/nfs_root #default: none
|
||||
|
||||
# The remainer of options are DHCP options and can be specifed with the
|
||||
# The remainder of options are DHCP options and can be specified with the
|
||||
# keyword 'opt' or 'option'. If an option can take multiple items, such
|
||||
# as the dns option, they can be listed on the same line, or multiple
|
||||
# lines. The only option with a default is 'lease'.
|
||||
@@ -58,7 +58,7 @@ opt dns 192.168.10.2 192.168.10.10
|
||||
option subnet 255.255.255.0
|
||||
opt router 192.168.10.2
|
||||
opt wins 192.168.10.10
|
||||
option dns 129.219.13.81 # appened to above DNS servers for a total of 3
|
||||
option dns 129.219.13.81 # appended to above DNS servers for a total of 3
|
||||
option domain local
|
||||
option lease 864000 # 10 days of seconds
|
||||
|
||||
@@ -67,10 +67,10 @@ option lease 864000 # 10 days of seconds
|
||||
#opt timezone
|
||||
#opt router
|
||||
#opt timesrv
|
||||
#opt namesrv
|
||||
#opt namesrv - obsolete, disabled
|
||||
#opt dns
|
||||
#opt logsrv
|
||||
#opt cookiesrv
|
||||
#opt cookiesrv - rarely (never?) used, disabled
|
||||
#opt lprsrv
|
||||
#opt bootsize
|
||||
#opt domain
|
||||
|
Reference in New Issue
Block a user