netcardconfig: fix variable assignment in awk cmdline
authorMichael Prokop <mika@grml.org>
Thu, 8 Dec 2011 12:52:40 +0000 (13:52 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 8 Dec 2011 12:52:42 +0000 (13:52 +0100)
commit5a1079a5b15364c1d643269ae4bdb91db5408143
tree21a3d5a06667e09aac715c5e765376ccf7615340
parent515713c2ff37b16bb6b68bb1cdf2a8bba8deec32
netcardconfig: fix variable assignment in awk cmdline

A variable inside awk can't seem to include the "-" sign.
So lets just use "dnsnameservers" instead of "dns-nameservers"
in the awk cmdline for variable assignment.

Closes: http://bts.grml.org/grml/issue1089
Thanks: Marek Malevič
sbin/netcardconfig