Remove the NO_FORK compile-time option, and support for uclinux.

In an era where everything has an MMU, this looks like
an anachronism, and it adds to (Ok, multiplies!) the
combinatorial explosion of compile-time options.
This commit is contained in:
Simon Kelley
2018-11-02 21:55:04 +00:00
parent 122392e0b3
commit 48d12f14c9
4 changed files with 9 additions and 36 deletions

View File

@@ -1828,9 +1828,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma
/* Sorry about the gross pre-processor abuse */
case '6': /* --dhcp-script */
case LOPT_LUASCRIPT: /* --dhcp-luascript */
# if defined(NO_FORK)
ret_err(_("cannot run scripts under uClinux"));
# elif !defined(HAVE_SCRIPT)
# if !defined(HAVE_SCRIPT)
ret_err(_("recompile with HAVE_SCRIPT defined to enable lease-change scripts"));
# else
if (option == LOPT_LUASCRIPT)