[BusyBox-cvs] busybox/networking/udhcp dhcpc.c,1.7,1.8

Glenn McGrath bug1 at busybox.net
Sat Feb 15 11:50:37 UTC 2003


Update of /var/cvs/busybox/networking/udhcp
In directory winder:/tmp/cvs-serv6050/networking/udhcp

Modified Files:
	dhcpc.c 
Log Message:
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.


Index: dhcpc.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/dhcpc.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- dhcpc.c	21 Jan 2003 22:39:34 -0000	1.7
+++ dhcpc.c	15 Feb 2003 11:50:33 -0000	1.8
@@ -59,7 +59,11 @@
 #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. */




More information about the busybox-cvs mailing list