diff options
Diffstat (limited to 'networking/udhcp/Config.src')
-rw-r--r-- | networking/udhcp/Config.src | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index 90fb313b5..7bc13a719 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src | |||
@@ -6,29 +6,13 @@ | |||
6 | INSERT | 6 | INSERT |
7 | 7 | ||
8 | config UDHCPD | 8 | config UDHCPD |
9 | bool "udhcp server (udhcpd)" | 9 | bool "udhcpd (DHCP server)" |
10 | default y | 10 | default y |
11 | select PLATFORM_LINUX | 11 | select PLATFORM_LINUX |
12 | help | 12 | help |
13 | udhcpd is a DHCP server geared primarily toward embedded systems, | 13 | udhcpd is a DHCP server geared primarily toward embedded systems, |
14 | while striving to be fully functional and RFC compliant. | 14 | while striving to be fully functional and RFC compliant. |
15 | 15 | ||
16 | config DHCPRELAY | ||
17 | bool "dhcprelay" | ||
18 | default y | ||
19 | help | ||
20 | dhcprelay listens for dhcp requests on one or more interfaces | ||
21 | and forwards these requests to a different interface or dhcp | ||
22 | server. | ||
23 | |||
24 | config DUMPLEASES | ||
25 | bool "Lease display utility (dumpleases)" | ||
26 | default y | ||
27 | help | ||
28 | dumpleases displays the leases written out by the udhcpd server. | ||
29 | Lease times are stored in the file by time remaining in lease, or | ||
30 | by the absolute time that it expires in seconds from epoch. | ||
31 | |||
32 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY | 16 | config FEATURE_UDHCPD_WRITE_LEASES_EARLY |
33 | bool "Rewrite the lease file at every new acknowledge" | 17 | bool "Rewrite the lease file at every new acknowledge" |
34 | default y | 18 | default y |
@@ -61,8 +45,24 @@ config DHCPD_LEASES_FILE | |||
61 | udhcpd stores addresses in a lease file. This is the absolute path | 45 | udhcpd stores addresses in a lease file. This is the absolute path |
62 | of the file. Normally it is safe to leave it untouched. | 46 | of the file. Normally it is safe to leave it untouched. |
63 | 47 | ||
48 | config DUMPLEASES | ||
49 | bool "dumpleases" | ||
50 | default y | ||
51 | help | ||
52 | dumpleases displays the leases written out by the udhcpd. | ||
53 | Lease times are stored in the file by time remaining in lease, or | ||
54 | by the absolute time that it expires in seconds from epoch. | ||
55 | |||
56 | config DHCPRELAY | ||
57 | bool "dhcprelay" | ||
58 | default y | ||
59 | help | ||
60 | dhcprelay listens for dhcp requests on one or more interfaces | ||
61 | and forwards these requests to a different interface or dhcp | ||
62 | server. | ||
63 | |||
64 | config UDHCPC | 64 | config UDHCPC |
65 | bool "udhcp client (udhcpc)" | 65 | bool "udhcpc (DHCP client)" |
66 | default y | 66 | default y |
67 | select PLATFORM_LINUX | 67 | select PLATFORM_LINUX |
68 | help | 68 | help |
@@ -93,6 +93,15 @@ config FEATURE_UDHCPC_SANITIZEOPT | |||
93 | they will be replaced with string "bad" when exporting | 93 | they will be replaced with string "bad" when exporting |
94 | to the environment. | 94 | to the environment. |
95 | 95 | ||
96 | config UDHCPC_DEFAULT_SCRIPT | ||
97 | string "Absolute path to config script" | ||
98 | default "/usr/share/udhcpc/default.script" | ||
99 | depends on UDHCPC | ||
100 | help | ||
101 | This script is called after udhcpc receives an answer. See | ||
102 | examples/udhcp for a working example. Normally it is safe | ||
103 | to leave this untouched. | ||
104 | |||
96 | config FEATURE_UDHCP_PORT | 105 | config FEATURE_UDHCP_PORT |
97 | bool "Enable '-P port' option for udhcpd and udhcpc" | 106 | bool "Enable '-P port' option for udhcpd and udhcpc" |
98 | default n | 107 | default n |
@@ -130,15 +139,6 @@ config FEATURE_UDHCP_8021Q | |||
130 | If selected, both client and server will support passing of VLAN | 139 | If selected, both client and server will support passing of VLAN |
131 | ID and priority via options 132 and 133 as per 802.1Q. | 140 | ID and priority via options 132 and 133 as per 802.1Q. |
132 | 141 | ||
133 | config UDHCPC_DEFAULT_SCRIPT | ||
134 | string "Absolute path to config script" | ||
135 | default "/usr/share/udhcpc/default.script" | ||
136 | depends on UDHCPC | ||
137 | help | ||
138 | This script is called after udhcpc receives an answer. See | ||
139 | examples/udhcp for a working example. Normally it is safe | ||
140 | to leave this untouched. | ||
141 | |||
142 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS | 142 | config UDHCPC_SLACK_FOR_BUGGY_SERVERS |
143 | int "DHCP options slack buffer size" | 143 | int "DHCP options slack buffer size" |
144 | default 80 | 144 | default 80 |