Why if I chnod +x my script can I not do ./myscript ?

Rob Landley rob at landley.net
Thu Feb 23 21:39:21 UTC 2006


On Thursday 23 February 2006 3:36 pm, Paul Fox wrote:
>  > Also, "make defconfig" doesn't select a default shell, so busybox won't
>  > recognize the name "sh" because it doesn't know which shell to run. 
>  > Try: #!/bin/ash
>
> so by default (with defconfig) nothing gets installed as /bin/sh?
> doesn't that break a large number of things?  like scripts that
> don't _have_ a "#!interpreter" line, and system(), and others?
>
> paul

Yup.

I suppose I could point it to lash, but this falls under the heading of 
"packaging decisions" that I'm trying not to make for people...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list