r1796

stsp at dslinux.in-berlin.de stsp at dslinux.in-berlin.de
Tue Jun 19 02:49:58 CEST 2007


Author: stsp
Date: 2007-06-19 02:49:52 +0200 (Tue, 19 Jun 2007)
New Revision: 1796

Log:
Include /usr/games in default PATH.


Modified: trunk/user/busybox/shell/msh.c
===================================================================
--- trunk/user/busybox/shell/msh.c	2007-06-12 21:15:25 UTC (rev 1795)
+++ trunk/user/busybox/shell/msh.c	2007-06-19 00:49:52 UTC (rev 1796)
@@ -871,7 +871,7 @@
 	path = lookup("PATH");
 	if (path->value == null) {
 		if (geteuid() == 0)
-			setval(path, "/sbin:/bin:/usr/sbin:/usr/bin:/sram:/home/bin");
+			setval(path, "/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/sram:/home/bin");
 		else
 			setval(path, "/bin:/usr/bin");
 	}




More information about the dslinux-commit mailing list