[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init: really dumb question




> on any linux or solaris box i have been on, typing "init 1" will change
> the init level from whatever level you are in at the time to level 1
> (single user, no networking).  so how do i do this in openbsd?  i try it
> and it complains that init is already running.

Unfortunately, *BSDs don't have the concept of run-levels at all.  They
have a rc file, and that loads whatever stuff you want it to load, based
on the rc.conf file (roughly ... things vary between the BSDs also).  

The BSD way of doing things is called BSD style, and the GNU/Linux way of
doing things is called AT&T style.  

In case you wanted to change to single user mode (that is why one might
type "init 1" in GNU/Linux), then type "boot -s" at the "boot>" prompt
that you get when you boot OpenBSD.

> does bsd style rc have a concept of init levels at all?

Hope that helps.

Regards,
Rakhesh