On Thursday 27 September 2007 16:53, Benjamin Sapp wrote: > Hi > > How can I initialize the shell run by init? In inittab, I have the > following line: > > ::askfirst:/bin/sh > > I would like that shell to already have LD_LIBRARY_PATH environment > variable set to something appropriate.
Method #1: in inittab ::askfirst:/script/which/sets/LD_LIBRARY_PATH/and/execs/bin/sh Method #2: boot kernel with: init=/script/which/sets/LD_LIBRARY_PATH/and/execs/sbin/init (should work since bbox init doesn't clear its environment). Method #3: boot kernel with needed variable set (kernel passes any non-recognized vars on its command line to init): LD_LIBRARY_PATH=xxx -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
