start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>
dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
This commit is contained in:
@@ -536,8 +536,8 @@ static int manual_up_down(struct interface_defn_t *ifd, execfn *exec)
|
||||
static int bootp_up(struct interface_defn_t *ifd, execfn *exec)
|
||||
{
|
||||
return execute("bootpc[[ --bootfile %bootfile%]] --dev %iface%"
|
||||
"[[ --server %server%]][[ --hwaddr %hwaddr%]] "
|
||||
"--returniffail --serverbcast", ifd, exec);
|
||||
"[[ --server %server%]][[ --hwaddr %hwaddr%]]"
|
||||
" --returniffail --serverbcast", ifd, exec);
|
||||
}
|
||||
|
||||
static int ppp_up(struct interface_defn_t *ifd, execfn *exec)
|
||||
|
@@ -11,6 +11,8 @@
|
||||
#include <getopt.h>
|
||||
#include <syslog.h>
|
||||
|
||||
/* Override ENABLE_FEATURE_PIDFILE - ifupdown needs our pidfile to always exist */
|
||||
#define WANT_PIDFILE 1
|
||||
#include "common.h"
|
||||
#include "dhcpd.h"
|
||||
#include "dhcpc.h"
|
||||
|
Reference in New Issue
Block a user