Mailinglist Archive: opensuse-autoinstall (58 mails)

< Previous Next >
Re: [opensuse-autoinstall] can the exec option for suse 9 be used to run multiple commands
  • From: Steffen Winterfeldt <snwint@xxxxxxx>
  • Date: Tue, 21 Aug 2007 15:42:18 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0708211537220.3674@xxxxxxxxxxxxxx>
On Fri, 17 Aug 2007, gooplex@xxxxxxxxx wrote:

> I noticed the initrd for SLES9 SP3 (I think that's equivlaent to Suse 9 SP2)
> has an exec option.
> 
> I also noticed the initrd has a small cache of binaries in the /lbin directory
> 
> Some are very interesting, like wget and sh
> 
> Does anyone have any experience with the 'exec=' option?
> 
> Can it be used to start a /lbin/sh shell to run a small script?

/lbin/sh is a very limited shell implementation that can just run commands 
and do output redirection. So, in theory, you can use 'exec' in sles9, but 
the set of commands that is available is really limited.

Things are different with sles10 or later, though, where you have a bash 
as shell and a number of tools are available.


Steffen
-- 
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
References