aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-02-15 11:50:33 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-02-15 11:50:33 +0000
commit4a4c677fccabdcd6db509488c9cb5d784afaa59d (patch)
tree3b506db6f7afd3b7babe4c33436a46f0526d09c5 /networking/udhcp/dhcpc.c
parent3238ea1673d55b37abeba066826963101e6af020 (diff)
downloadbusybox-4a4c677fccabdcd6db509488c9cb5d784afaa59d.tar.gz
Patch from Bastian Blank
- ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr.
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r--networking/udhcp/dhcpc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 6abca6d1c..fdcd17f79 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -59,7 +59,11 @@ static int signal_pipe[2];
#define LISTEN_RAW 2
static int listen_mode;
+#ifdef CONFIG_INSTALL_NO_USR
+#define DEFAULT_SCRIPT "/share/udhcpc/default.script"
+#else
#define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script"
+#endif
struct client_config_t client_config = {
/* Default options. */