diff options
author | Denis Vlasenko | 2007-08-02 10:14:29 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-08-02 10:14:29 +0000 |
commit | 1caca34aa67b2f267d0049d17e5430ca9c58ac3f (patch) | |
tree | b03a3218a2a96fa201bab6e7a58c9ad6b208c302 /networking | |
parent | fc77eb54e791c7d636c20993ec81396052af84f0 (diff) | |
download | busybox-1caca34aa67b2f267d0049d17e5430ca9c58ac3f.zip busybox-1caca34aa67b2f267d0049d17e5430ca9c58ac3f.tar.gz |
start_stop_daemon: NOMMU fixes, round 2 by Alex Landau <landau_alex@yahoo.com>
dhcpc: fixed "ifupdown + udhcpc_without_pidpile_creation" bug
Diffstat (limited to 'networking')
-rw-r--r-- | networking/ifupdown.c | 4 | ||||
-rw-r--r-- | networking/udhcp/dhcpc.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index a15e141..040bbe3 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -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) diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index b84a678..4bb90c2 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -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" |