summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>1999-04-20 21:15:13 +0000
committerdes <des@FreeBSD.org>1999-04-20 21:15:13 +0000
commitd3e9d9a7c34ce206f106afc9d6b999308ef969de (patch)
tree4fdbd4baf68eea7d6173c6ec3d60bc42ae5a082d /sys/boot
parentd96217d0989df758c433d4b5a80c72f298e83b75 (diff)
downloadFreeBSD-src-d3e9d9a7c34ce206f106afc9d6b999308ef969de.zip
FreeBSD-src-d3e9d9a7c34ce206f106afc9d6b999308ef969de.tar.gz
Make the location of init(8) tunable at boot time.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/help.common11
-rw-r--r--sys/boot/common/loader.86
-rw-r--r--sys/boot/forth/loader.conf3
-rw-r--r--sys/boot/i386/loader/loader.86
4 files changed, 22 insertions, 4 deletions
diff --git a/sys/boot/common/help.common b/sys/boot/common/help.common
index 3478d9a..95c075e 100644
--- a/sys/boot/common/help.common
+++ b/sys/boot/common/help.common
@@ -184,9 +184,18 @@
Selects the default device. Syntax for devices is odd.
################################################################################
+# Tset Sinit_path DSet the list of init candidates
+
+ set init_path=<path>[;<path>...]
+
+ Sets the list of binaries which the kernel will try to run as initial
+ process.
+
+
+################################################################################
# Tset Smodule_path DSet the module search path
- set module_path=<path>[,<path>...]
+ set module_path=<path>[;<path>...]
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependancy.
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index 32133d8..2ed7acd 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: loader.8,v 1.1 1999/03/15 08:52:23 dcs Exp $
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
@@ -316,6 +316,10 @@ is
Defines the current console.
.It Va currdev
Selects the default device. Syntax for devices is odd.
+.It Va init_path
+Sets the list of binaries which the kernel will try to run as initial
+process. The default is
+.Li Dq /sbin/init;/sbin/oinit;/sbin/init.bak;/stand/sysinstall .
.It Va interpret
Has the value
.Li Dq ok
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index b38c642..4a65831 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -6,7 +6,7 @@
#
# All arguments must be in double quotes.
#
-# $Id: loader.conf,v 1.1 1999/03/09 14:06:55 dcs Exp $
+# $Id: loader.conf,v 1.2 1999/03/14 21:57:49 dcs Exp $
##############################################################
### Basic configuration options ############################
@@ -61,6 +61,7 @@ bitmap_type="splash_image_data"
#boot_single="NO" # Start system in single-user mode
#boot_userconfig="NO" # Run kernel's interactive device configuration program
#boot_verbose="NO" # Causes extra debugging information to be printed
+#init_path="/sbin/init" # Sets the list of init candidates
##############################################################
diff --git a/sys/boot/i386/loader/loader.8 b/sys/boot/i386/loader/loader.8
index 32133d8..2ed7acd 100644
--- a/sys/boot/i386/loader/loader.8
+++ b/sys/boot/i386/loader/loader.8
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id$
+.\" $Id: loader.8,v 1.1 1999/03/15 08:52:23 dcs Exp $
.\"
.\" Note: The date here should be updated whenever a non-trivial
.\" change is made to the manual page.
@@ -316,6 +316,10 @@ is
Defines the current console.
.It Va currdev
Selects the default device. Syntax for devices is odd.
+.It Va init_path
+Sets the list of binaries which the kernel will try to run as initial
+process. The default is
+.Li Dq /sbin/init;/sbin/oinit;/sbin/init.bak;/stand/sysinstall .
.It Va interpret
Has the value
.Li Dq ok
OpenPOWER on IntegriCloud