On Wednesday 11 July 2007 07:02, Natanael Copa wrote:
> Hi,
> 
> While trying to get my busybox/uClibc based distro run as a vserver i
> got the problem that there is no -l option to /bin/sh. I solved it by
> patching vserver scripts:
> 
> --- data.orig/usr/lib/util-vserver/vserver.functions    2007-07-05 15:41:45 
> +0000
> +++ data/usr/lib/util-vserver/vserver.functions 2007-07-10 22:54:08 +0000
> @@ -207,7 +207,7 @@
>      
>      test -n "$ENTER_SHELL" || {
>         local i
> -       for i in "/bin/bash -login" "/bin/sh -l" /bin/csh; do
> +       for i in "/bin/bash -login" "/bin/ash --login" "/bin/sh -l" /bin/csh; 
> do
>             set -- $i
>             test -x "$vdir/vdir/$1" || continue
>             ENTER_SHELL=( "$@" )
> 
> 
> I was wondering if there is intereste for a --login short option -l in
> busybox so patching util-vserver is not needed for busybox vservers?

Fixed in svn, thanks for the report.

There was also a buglet which made +-login equivalent to --login,
which bash doesn't do.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to