diff options
author | Daouda Lo <daouda@mandriva.com> | 2002-08-29 12:54:52 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2002-08-29 12:54:52 +0000 |
commit | 14de43982cb3fe7afb6757801fe795911dcff6e4 (patch) | |
tree | a6b80d419533cb055175a9619ea678ac77f5020d | |
parent | 39608972cab56abcd03e7a1b45fe3aae05a4a6d9 (diff) | |
download | drakx-14de43982cb3fe7afb6757801fe795911dcff6e4.tar drakx-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.gz drakx-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.bz2 drakx-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.xz drakx-14de43982cb3fe7afb6757801fe795911dcff6e4.zip |
- set DNS in adsl config.
-rw-r--r-- | perl-install/network/adsl.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 0e2c95225..fddbb348a 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -116,6 +116,8 @@ defaultroute substInFile { s/ETH=.*\n/ETH=$netc->{NET_DEVICE}\n/; s/USER=.*\n/USER=$adsl->{login}\n/; + s/DNS1=.*\n/DNS1=$netc->{dnsServer2}/; + s/DNS2=.*\n/DNS2=$netc->{dnsServer3}/; } "$prefix/etc/ppp/pppoe.conf"; } |