Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2000 17:05:28 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Richard Sharpe <sharpe@ns.aus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Bypassing init
Message-ID:  <20000819170527.C323@wantadilla.lemis.com>
In-Reply-To: <3.0.6.32.20000819115548.00abf600@203.16.214.248>; from sharpe@ns.aus.com on Sat, Aug 19, 2000 at 11:55:48AM %2B0900
References:  <3.0.6.32.20000819115548.00abf600@203.16.214.248>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 19 August 2000 at 11:55:48 +0900, Richard Sharpe wrote:
> Hi,
>
> I am trying to bypas init on startup ...
>
> I have tried the following in the loader:
>
>    set init_path="/bin/sh"
>
> and then
>
>    boot -s
>
> But it fails. Init exits or fails.

In which manner?

> I have checked and /bin/sh is statically linked. Is it wrong to put
> quotes around the above?

No, the quotes are OK.  They may even be obligatory.

> Can anyone suggest the correct way to do this?

I'd think that the correct way would be to run init.  What are you
really trying to do?

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger grog@lemis.com for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000819170527.C323>