This file doesn't appear to be used anywhere.
This commit is contained in:
parent
273430aa8d
commit
cf5b80ba32
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user