aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit6
1 files changed, 1 insertions, 5 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 369f438..a30994f 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -412,11 +412,7 @@ if [ -f "/dev/.udev/tmp-rules--70-persistent-net.rules" ]; then
stat_done
fi
-# Save our dmesg output from this boot
-if [ -f /var/log/dmesg.log ]; then
- /bin/rm /var/log/dmesg.log
-fi
-/bin/dmesg > /var/log/dmesg.log
+/bin/dmesg >| /var/log/dmesg.log
# End of file
# vim: set ts=2 noet: