dslinux/user/busybox/shell msh.c

Alberto Torres kungfoobar at gmail.com
Fri Aug 11 20:20:00 CEST 2006


Cool, now I can bundle dslinux with scripts without rebuilding it. BTW
I rebuilt dslinux with bitchx, (busybox's) grep, cut, sed, tr, wget
(with progress bar) and without bsd games, for SC SD, and it's only
9.5 mb. I wanted also to include netcat, but I don't know why it isn't
build. Netcat is my favourite network tool.

2006/8/11, stsp <stsp at user.in-berlin.de>:
> Update of /cvsroot/dslinux/dslinux/user/busybox/shell
> In directory antilope:/tmp/cvs-serv26027
>
> Modified Files:
>         msh.c
> Log Message:
> Add /sram and /home/bin to default PATH.
>
>
> Index: msh.c
> ===================================================================
> RCS file: /cvsroot/dslinux/dslinux/user/busybox/shell/msh.c,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -d -r1.3 -r1.4
> --- msh.c       28 Jun 2006 14:57:55 -0000      1.3
> +++ msh.c       11 Aug 2006 16:03:09 -0000      1.4
> @@ -870,7 +870,7 @@
>         path = lookup("PATH");
>         if (path->value == null) {
>                 if (geteuid() == 0)
> -                       setval(path, "/sbin:/bin:/usr/sbin:/usr/bin");
> +                       setval(path, "/sbin:/bin:/usr/sbin:/usr/bin:/sram:/home/bin");
>                 else
>                         setval(path, "/bin:/usr/bin");
>         }
>
> --
> dslinux-commit mailing list
> dslinux-commit at dslinux.in-berlin.de
> http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-commit
>


-- 
DiThi
e-mail: kungfoobar at gmail.com
Jabber ID: dithi at jabber.org



More information about the dslinux-devel mailing list