* Don't print kernel log messages twice.
svn path=/nixos/trunk/; revision=23769
This commit is contained in:
parent
c8d1774f09
commit
d48e2fdb4d
|
@ -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 {} [ ];
|
||||
|
|
Loading…
Reference in New Issue