diff options
Diffstat (limited to 'networking/udhcp/frontend.c')
-rw-r--r-- | networking/udhcp/frontend.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c deleted file mode 100644 index fa77ab977..000000000 --- a/networking/udhcp/frontend.c +++ /dev/null @@ -1,16 +0,0 @@ -#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; -} |