aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit17
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