summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2015-12-23 17:45:14 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2015-12-23 17:45:14 +0000
commitacaaba3b425304dd39e59c75aa1d9d5687180d3e (patch)
tree4cb5bdd66eb6b85a8f3d3cd96421f939bf5c170d /distrib/miniroot/install.sub
parent608b21ff04dea9eb389a53f841c363d0ab679565 (diff)
Change comment style for headings so they get removed by list2sh.awk and
don't end up in bsd.rd. OK krw@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub38
1 files changed, 19 insertions, 19 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index c348b6fced1..a7c1499c929 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.864 2015/12/23 08:05:11 rpe Exp $
+# $OpenBSD: install.sub,v 1.865 2015/12/23 17:45:13 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -55,9 +55,9 @@
# OpenBSD install/upgrade script common subroutines and initialization code
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Misc functions
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
usage() {
echo "usage: ${0##*/} [-a] [-f filename]" >&2
@@ -80,9 +80,9 @@ waitcgiinfo() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Utils functions
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Sort and print provided arguments.
bsort() {
@@ -199,9 +199,9 @@ tmpdir() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Device related functions
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Show device name, label and size for the provided list of devices.
diskinfo() {
@@ -352,9 +352,9 @@ disklabel_autolayout() {
done
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Functions for the dmesg listener
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Acquire lock.
lock() {
@@ -373,9 +373,9 @@ retrap() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Functions to ask (or auto-answer) questions
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Fetch response file for autoinstall.
get_responsefile() {
@@ -656,9 +656,9 @@ askpassword() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Support functions for donetconfig()
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Run dhclient, making sure there is a free bpf first.
dhclient() {
@@ -1081,9 +1081,9 @@ get_fqdn() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Support functions for install_sets()
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Check that missing required sets were deliberately skipped.
# Care is taken to make sure the return value is correct.
@@ -1495,9 +1495,9 @@ mount_mnt2() {
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Functions used in install.sh/upgrade.sh and it's associates
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Ask for terminal type if on console, otherwise ask for/set keyboard layout.
set_term() {
@@ -2254,7 +2254,7 @@ __EOT
}
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
#
# Initial actions common to both installs and upgrades.
#
@@ -2262,7 +2262,7 @@ __EOT
# call functions defined above, so it's safest to put this
# code here rather than at the top of the file.
#
-#-------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
# Parse parameters.
AUTO=false