dhcp: adjust initscripts and misc details
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 14 Nov 2013 12:12:00 +0000 (09:12 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Nov 2013 10:39:09 +0000 (11:39 +0100)
commitdcefce4cf81f8a4ca8a5baadc51554e5fb3346a8
treeaf6ed6ee85ac6912dc0bffb4920796e574aa4fda
parent25507b2a5afaa60daf58e1a76ff9be2a6da0f7f9
dhcp: adjust initscripts and misc details

Revamp initscripts see bug #3601
* Trim whitespace
* Check for installed binary (dhcp-relay)
* Check for installed config (dhcp-server)
* Check for proper variable setup from the script (both)
* Add "FAIL" message when startup fails (blind OK isn't accurate)
* Add start/stop messages to dhcp-relay

Switch bool to "dhcp (ISC)" to keep in line with package sorting.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dhcp/Config.in
package/dhcp/S80dhcp-relay
package/dhcp/S80dhcp-server