diff options
author | Bill Nottingham <notting@redhat.com> | 2004-01-28 16:44:35 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-01-28 16:44:35 +0000 |
commit | e91da44b2050e8266084aad4c1ff713702fb92df (patch) | |
tree | fe15dbfbd7664b6b1bd45775f20a2951ceb8881f /rc.d/rc.sysinit | |
parent | 6da027bc9fa064169515e966e76fee4ab8871827 (diff) | |
download | initscripts-e91da44b2050e8266084aad4c1ff713702fb92df.tar initscripts-e91da44b2050e8266084aad4c1ff713702fb92df.tar.gz initscripts-e91da44b2050e8266084aad4c1ff713702fb92df.tar.bz2 initscripts-e91da44b2050e8266084aad4c1ff713702fb92df.tar.xz initscripts-e91da44b2050e8266084aad4c1ff713702fb92df.zip |
/var/log/ksyms.0 is dead too
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index cd140bfb..0d36c18e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -795,22 +795,7 @@ fi # Now that we have all of our basic modules loaded and the kernel going, # let's dump the syslog ring somewhere so we can find it later dmesg -s 131072 > /var/log/dmesg -# Also keep kernel symbols around in case we need them for debugging -i=5 -while [ $i -ge 0 ]; do - if [ -f /var/log/ksyms.$i ]; then - chmod 0600 /var/log/ksyms.$i - mv /var/log/ksyms.$i /var/log/ksyms.$(($i+1)) - fi - i=$(($i-1)) -done -{ date - uname -a - cat /proc/cpuinfo - [ -r /proc/modules ] && cat /proc/modules - [ -r /proc/ksyms ] && cat /proc/ksyms -} > /var/log/ksyms.0 -chmod 600 /var/log/ksyms.0 + # create the crash indicator flag to warn on crashes, offer fsck with timeout touch /.autofsck kill -TERM `/sbin/pidof getkey` >/dev/null 2>&1 |