network-interfaces: fixing a cat/EOF piping confusion

This commit is contained in:
Lluís Batlle i Rossell 2013-04-17 09:10:18 +02:00
parent 927a3e3ff2
commit 1caa1b96cb

View File

@ -277,7 +277,7 @@ in
script =
''
# Set the static DNS configuration, if given.
cat | ${pkgs.openresolv}/sbin/resolvconf -a static <<EOF
${pkgs.openresolv}/sbin/resolvconf -a static <<EOF
${optionalString (cfg.nameservers != [] && cfg.domain != "") ''
domain ${cfg.domain}
''}