* Don't print kernel log messages twice.

svn path=/nixos/trunk/; revision=23769
This commit is contained in:
Eelco Dolstra 2010-09-13 17:36:01 +00:00
parent c8d1774f09
commit d48e2fdb4d
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ in
# Send all of /var/log/messages to the serial port.
services.syslogd.extraConfig = "*.* /dev/ttyS0";
# Clear the kernel log buffer before starting klogd to prevent it
# from printing messages that we have already seen.
jobs.klogd.preStart = "dmesg -c > /dev/null";
# Prevent tests from accessing the Internet.
networking.defaultGateway = mkOverrideTemplate 150 {} "";
networking.nameservers = mkOverrideTemplate 150 {} [ ];