aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/frontend.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c
deleted file mode 100644
index 0f072b9f5..000000000
--- a/networking/udhcp/frontend.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* vi: set sw=4 ts=4: */
-#include <string.h>
-
-extern int udhcpd_main(int argc, char *argv[]);
-extern int udhcpc_main(int argc, char *argv[]);
-
-int main(int argc, char *argv[])
-{
- int ret = 0;
- char *base = strrchr(argv[0], '/');
-
- if (strstr(base ? (base + 1) : argv[0], "dhcpd"))
- ret = udhcpd_main(argc, argv);
- else ret = udhcpc_main(argc, argv);
-
- return ret;
-}