[BusyBox-cvs] busybox/networking ifupdown.c, 1.31, 1.32 telnetd.c, 1.6, 1.7

Glenn McGrath bug1 at busybox.net
Tue Sep 2 02:36:42 UTC 2003


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

Modified Files:
	ifupdown.c telnetd.c 
Log Message:
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
constant.
Vodz last_patch_107


Index: telnetd.c
===================================================================
RCS file: /var/cvs/busybox/networking/telnetd.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- telnetd.c	25 Apr 2003 12:32:37 -0000	1.6
+++ telnetd.c	2 Sep 2003 02:36:16 -0000	1.7
@@ -52,7 +52,7 @@
 #ifdef CONFIG_LOGIN
 "/bin/login";
 #else
-"/bin/sh";
+DEFAULT_SHELL;
 #endif
 static const char *issuefile = "/etc/issue.net";
 

Index: ifupdown.c
===================================================================
RCS file: /var/cvs/busybox/networking/ifupdown.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- ifupdown.c	29 Aug 2003 07:47:52 -0000	1.31
+++ ifupdown.c	2 Sep 2003 02:36:15 -0000	1.32
@@ -1009,7 +1009,7 @@
 			case -1:		/* failure */
 				return 0;
 			case 0:		/* child */
-				execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ);
+				execle(DEFAULT_SHELL, DEFAULT_SHELL, "-c", str, NULL, environ);
 				exit(127);
 		}
 		waitpid(child, &status, 0);




More information about the busybox-cvs mailing list