summaryrefslogtreecommitdiffstats
path: root/rules/dhcp.in
blob: 59a910cfddc6132fb46b5f7485d6c67fcdafcda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
menuconfig DHCP
	bool
	prompt "DHCP                "
	help
	  This is the DHCP server from version 3 of the Internet Software
	  Consortium DHCP package. For more information visit the ISC web
 	  site at http://www.isc.org.

	  Dynamic Host Configuration Protocol (DHCP) is a protocol like
	  BOOTP (actually dhcpd includes much of the functionality of
	  BOOTPD!). It assigns IP addresses to clients based on lease
	  times.

 	  Multiple Ethernet Interfaces are supported by this DHCP package.


config DHCP_SERVER
	bool
	depends on DHCP
	prompt "DHCP Server dhcpd"
	help
		FIXME

config DHCP_CLIENT
	bool
	depends on DHCP
	prompt "DHCP Client dhclient"
	help
	  This is a client process to provide the system it runs on
	  with an IP adress. It also handles a lease refresh if it
	  expires.

config DHCP_CLIENT_CONFIG
	bool
	depends on DHCP_CLIENT
	prompt "Install /etc/dhclient.conf"
	help
	  PTXdist installs a /etc/dhclient.conf from a selectable source.

choice
	prompt "Kind of dhclient.conf"
	default DHCP_CLIENT_CONFIG_DEFAULT
	depends on DHCP_CLIENT_CONFIG

	config DHCP_CLIENT_CONFIG_DEFAULT
		bool
		prompt "Use generic"
		help
		  Installs a generic /etc/dhclient.conf from the dhcp package.
		  See <build-target/dhcp-?.?.?/client/dhclient.conf

	config DHCP_CLIENT_CONFIG_USER
		bool
		prompt "User defined"
		help
		  This uses a user defined /etc/dhclient.conf file. PTXdist
		  uses files projectroot/etc/dhclient.conf in your local
		  project

endchoice

config DHCP_RELAY
	bool
	depends on DHCP
	prompt "DHCP Relay dhcrelay"
	help
	 FIXME