summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-01-02 16:28:33 +0000
committerphk <phk@FreeBSD.org>1997-01-02 16:28:33 +0000
commit368dad5d4b6dfd62f85be58e003be48472502232 (patch)
treea374caee55930f150516764debee9fbe9c72e1bc /etc
parent504582b76bcb593677179f8a9b1bd94b0e1a0508 (diff)
downloadFreeBSD-src-368dad5d4b6dfd62f85be58e003be48472502232.zip
FreeBSD-src-368dad5d4b6dfd62f85be58e003be48472502232.tar.gz
Now that uptimes run into months on a regular basis, I often find myself
wondering what the hw-config of a machine is, and the logs have been rotated many times since reboot already. Added: /sbin/dmesg > /var/tmp/dmesg.boot to /etc/rc 2.2 candidate
Diffstat (limited to 'etc')
-rw-r--r--etc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 3b47723..4415f42 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.107 1996/12/19 18:06:35 joerg Exp $
+# $Id: rc,v 1.108 1996/12/23 00:32:15 joerg Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -86,6 +86,9 @@ fi
adjkerntz -i
+# Keep a copy of the boot messages around
+/sbin/dmesg > /var/tmp/dmesg.boot
+
# If there is a global system configuration file, suck it in.
if [ -f /etc/sysconfig ]; then
. /etc/sysconfig
OpenPOWER on IntegriCloud