Subject: Re: single user mode
To: NetBSD-embed <tech-embed@NetBSD.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: tech-embed
Date: 07/04/2005 13:47:49
Marcin Jessa --> tech-embed (2005-07-04 12:36:31 +0200):
> Hi.
>
> I am trying to execute a script in single user mode on a CF with memory
> mounted rootfs but I get asked about shell inestead or
> executing /.profile. What trick is used when
> install floppy goes from kernel boot to executing sysinst script and
> not prompting for shell ? Is there a custom init script used for
> install floppies ?
You probably want to build init with SMALLPROG defined. (This causes
ALTSHELL to be not defined, which seems to be what you want.)
HTH, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~