diff options
author | phk <phk@FreeBSD.org> | 1997-01-02 16:28:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-01-02 16:28:33 +0000 |
commit | 368dad5d4b6dfd62f85be58e003be48472502232 (patch) | |
tree | a374caee55930f150516764debee9fbe9c72e1bc | |
parent | 504582b76bcb593677179f8a9b1bd94b0e1a0508 (diff) | |
download | FreeBSD-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
-rw-r--r-- | etc/rc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |