Builtin commands and calling behaviour

Denis Vlasenko vda.linux at googlemail.com
Tue Mar 27 21:39:28 UTC 2007


On Tuesday 27 March 2007 20:23, Enrico Weigelt wrote:
> I'd like to build remote bootstrap installation system with an 
> statically linked busybox (to be used on an VPS). My idea was
> to put an statically linked busybox, an installation script and 
> the rootfs tarball into some save place (ie. /.BOOTSTRAP/),
> call the installation script with the busybox and let it do 
> evrything (cleaning the old / and unpacking the tarball, etc).
> 
> The tricky point is that I must be totally sure that this script
> only uses the builtin commands, as long as I do not explicitly 
> tell it to call something from the outside (ie by full path name).
> 
> Does it work that way ?

No. There is not option "execute only applets" for any of our shells.
--
vda



More information about the busybox mailing list