aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rcS.d/330-dmesg.sh
blob: 42fb0efe792b8bdb69c2150cc776628fa867024c (plain)
1
2
3
4
5
6
#!/bin/sh
# 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
[ -f /var/log/dmesg ] && mv -f /var/log/dmesg /var/log/dmesg.old
dmesg -s 131072 > /var/log/dmesg
: