diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:54:59 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 18:54:59 +0100 |
commit | f7683cdf83f9eb6793b0be34058dcff92e41252d (patch) | |
tree | 35a9e4b4298e42c049a396254de4d56ada7e7bf8 /networking/udhcp/dhcpc.c | |
parent | a8e52da7742b2bc8a3993f7f7c3c70da8fe79848 (diff) | |
download | busybox-w32-f7683cdf83f9eb6793b0be34058dcff92e41252d.tar.gz busybox-w32-f7683cdf83f9eb6793b0be34058dcff92e41252d.tar.bz2 busybox-w32-f7683cdf83f9eb6793b0be34058dcff92e41252d.zip |
Convert all udhcp applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 1c1051107..0e236261b 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -18,6 +18,13 @@ | |||
18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | */ | 20 | */ |
21 | //applet:IF_UDHCPC(APPLET(udhcpc, BB_DIR_SBIN, BB_SUID_DROP)) | ||
22 | |||
23 | //kbuild:lib-$(CONFIG_UDHCPC) += common.o packet.o signalpipe.o socket.o | ||
24 | //kbuild:lib-$(CONFIG_UDHCPC) += dhcpc.o | ||
25 | //kbuild:lib-$(CONFIG_FEATURE_UDHCPC_ARPING) += arpping.o | ||
26 | //kbuild:lib-$(CONFIG_FEATURE_UDHCP_RFC3397) += domain_codec.o | ||
27 | |||
21 | #include <syslog.h> | 28 | #include <syslog.h> |
22 | /* Override ENABLE_FEATURE_PIDFILE - ifupdown needs our pidfile to always exist */ | 29 | /* Override ENABLE_FEATURE_PIDFILE - ifupdown needs our pidfile to always exist */ |
23 | #define WANT_PIDFILE 1 | 30 | #define WANT_PIDFILE 1 |