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
This commit is contained in:
parent
c7109c58a4
commit
8494458502
5
etc/rc
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user