summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-30 17:11:26 +0000
committerru <ru@FreeBSD.org>2004-09-30 17:11:26 +0000
commitfb9413f278b158186f08283778ea918b213d7678 (patch)
tree064a96dfe500e5e1d8dd33dda21c0c2bbcbc48c3 /sys/boot
parent25eaf9d98a6f291bbb9394b5b60bf666ef94b149 (diff)
downloadFreeBSD-src-fb9413f278b158186f08283778ea918b213d7678.zip
FreeBSD-src-fb9413f278b158186f08283778ea918b213d7678.tar.gz
Fixed the default value of the $prompt variable, document what
happens if $prompt is unset.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/help.common2
-rw-r--r--sys/boot/common/loader.86
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/boot/common/help.common b/sys/boot/common/help.common
index 9263bf4..a93137c 100644
--- a/sys/boot/common/help.common
+++ b/sys/boot/common/help.common
@@ -249,7 +249,7 @@
Variable substitution is performed on the prompt. The default
prompt can be set with:
- set prompt=\$currdev>
+ set prompt=\${interpret}
################################################################################
# Tset Srootdev DSet the root filesystem
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index 9686c9b..0f8bde2 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -395,7 +395,11 @@ Value of
.Nm Ns 's
prompt.
Defaults to
-.Dq Li "${currdev}>" .
+.Dq Li "${interpret}" .
+If variable
+.Va prompt
+is unset, the default prompt is
+.Ql > .
.It Va root_disk_unit
If the code which detects the disk unit number for the root disk is
confused, e.g.\& by a mix of SCSI and IDE disks, or IDE disks with
OpenPOWER on IntegriCloud