repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git]
/
ppp-eaptls
/
ip-up.d.dns.sh
blob
f9df543a492472bd501f2ac9f02b109171469b71
1
#!/bin/sh
2
3
if
[
"
$USEPEERDNS
"
=
"1"
-a -f
/
etc
/
ppp
/
resolv.conf
];
then
4
[
-e
/
etc
/
resolv.conf
] &&
mv
/
etc
/
resolv.conf
/
etc
/
resolv.conf.backup.
${IFNAME}
5
mv
/
etc
/
ppp
/
resolv.conf
/
etc
/
resolv.conf
6
chmod
644
/
etc
/
resolv.conf
7
fi