tweak examples/udhcp/udhcpd.conf
No binary (build failed)
—
(log yok)
| @@ -14,11 +14,6 @@ interface eth0 | |
| # smaller than lease block. | |
| #max_leases 254 | |
| - | # The time period at which udhcpd will write out a dhcpd.leases |
| - | # file. If this is 0, udhcpd will never automatically write a |
| - | # lease file. Specified in seconds. |
| - | #auto_time 7200 |
| - | |
| # The amount of time that an IP will be reserved (leased to nobody) | |
| # if a DHCP decline message is received (seconds) | |
| #decline_time 3600 | |
| @@ -34,11 +29,16 @@ interface eth0 | |
| # to this value (seconds) | |
| #min_lease 60 | |
| + | # The location of the pid file |
| + | #pidfile /var/run/udhcpd.pid |
| + | |
| # The location of the leases file | |
| #lease_file /var/lib/misc/udhcpd.leases | |
| - | # The location of the pid file |
| - | #pidfile /var/run/udhcpd.pid |
| + | # The time period at which udhcpd will write out leases file. |
| + | # If this is 0, udhcpd will never automatically write leases file. |
| + | # Specified in seconds. |
| + | #auto_time 7200 |
| # Every time udhcpd writes a leases file, the below script will be called | |
| #notify_file # default: no script | |