On Mon, May 4, 2009 at 5:35 PM, Neil Williams <[email protected]> wrote: > On Mon, 4 May 2009 17:26:02 +0200 >> >> >> I just run emsecondstage from /etc/inittab [before the rc.d stuff >> starts up] You'll need to create a few device nodes manually (just >> console should be enough). >> This should work with any bootloader. > > I've wondered about doing that but never had a chance to test it. > Thanks for getting it working. emsecondstage removes itself once > complete, so the routine presumably checks to see if the script exists > first? Not strictly necessary - init just prints a warning message if it isn't there. Initially it can be handy to use a wrapper script like
#! /bin/sh /emsecondstage 2>&1 | tee /tmp/emsecondstage.log so you get logs if something goes wrong [ I don't think init directly supports redirections] Of course that could easilly test if the script exists. Martin -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

