summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-07-04 17:23:43 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-07-04 17:23:43 +0000
commitf1aaf0e48c114c3f3890888c029eaa65e678268d (patch)
tree175124abddff2d4657dfc28d5a94fc66f5a637d7
parentb8cdd405f6180a902031bbf1393df14ddf9d0024 (diff)
Since the directory /var/run is now present during install/upgrade,
put dmesg.boot there rather than the non-normal location /tmp/dmesg.boot.
-rw-r--r--distrib/miniroot/install.sub10
1 files changed, 5 insertions, 5 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index a1c95b575f2..4cfc86c312d 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.237 2002/07/04 16:01:21 krw Exp $
+# $OpenBSD: install.sub,v 1.238 2002/07/04 17:23:42 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2002 Todd Miller, Theo de Raadt, Ken Westerback
@@ -158,11 +158,11 @@ __EOT
}
get_diskdevs() {
- bsort `sed -ne "${MDDISKDEVS:-/^[sw]d[0-9][0-9]* /s/ .*//p}" /tmp/dmesg.boot`
+ bsort `sed -ne "${MDDISKDEVS:-/^[sw]d[0-9][0-9]* /s/ .*//p}" /var/run/dmesg.boot`
}
get_cddevs() {
- bsort `sed -ne "${MDCDDEVS:-/^cd[0-9][0-9]* /s/ .*//p}" /tmp/dmesg.boot`
+ bsort `sed -ne "${MDCDDEVS:-/^cd[0-9][0-9]* /s/ .*//p}" /var/run/dmesg.boot`
}
# Ask for a password, saving the input in $resp.
@@ -2140,9 +2140,9 @@ VERSION_MINOR=$(( $VERSION % 10 ))
export VERSION VERSION_MAJOR VERSION_MINOR
# Extract and save one boot's worth of dmesg
-dmesg | sed -ne '/^OpenBSD /h;/^OpenBSD /!H;${g;p;}' > /tmp/dmesg.boot
+dmesg | sed -ne '/^OpenBSD /h;/^OpenBSD /!H;${g;p;}' > /var/run/dmesg.boot
-# Scan /tmp/dmesg.boot for disks and cds
+# Scan /var/run/dmesg.boot for disks and cds
_DKDEVS=`get_diskdevs`
_CDDEVS=`get_cddevs`