summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-08-29 12:54:52 +0000
committerDaouda Lo <daouda@mandriva.com>2002-08-29 12:54:52 +0000
commit14de43982cb3fe7afb6757801fe795911dcff6e4 (patch)
treea6b80d419533cb055175a9619ea678ac77f5020d
parent39608972cab56abcd03e7a1b45fe3aae05a4a6d9 (diff)
downloaddrakx-backup-do-not-use-14de43982cb3fe7afb6757801fe795911dcff6e4.tar
drakx-backup-do-not-use-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.gz
drakx-backup-do-not-use-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.bz2
drakx-backup-do-not-use-14de43982cb3fe7afb6757801fe795911dcff6e4.tar.xz
drakx-backup-do-not-use-14de43982cb3fe7afb6757801fe795911dcff6e4.zip
- set DNS in adsl config.
-rw-r--r--perl-install/network/adsl.pm2
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";
}