netcardconfig: avoid dns-nameservers leaking into gateway variable
authorMichael Prokop <mika@grml.org>
Sun, 9 Feb 2014 21:28:24 +0000 (22:28 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 9 Feb 2014 21:35:02 +0000 (22:35 +0100)
commit606f7cc69955a8e815699484feb491d8dd940fbd
tree8cfb23fb4077d41e8121d469d0dc8e6af72fe735
parentd15340e593f82ad86fa6f9013364b8f20dff55c6
netcardconfig: avoid dns-nameservers leaking into gateway variable

Because we also take care of the dns-nameservers entry in
/etc/network/interfaces, when re-executing netcardconfig we
overload the default gateway variable with *also* the
dns-nameservers entry, which is clearly unwanted.
So avoid leaking the dns-nameservers entry into the
gateway variable (which is presented in the gateway
input dialog) by assigning it its own variable.
sbin/netcardconfig