summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/ppp/scripts/ip-down.local.add
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-06-15 10:21:34 +0000
committerMystery Man <unknown@mandriva.org>2005-06-15 10:21:34 +0000
commitced1ffcebee246fd51572566f1b4f08e6b981c23 (patch)
tree01d53c7928a67bf29513da0e079096df3ca1ddaa /mdk-stage1/ppp/scripts/ip-down.local.add
parent43d37ea8829a56d0b864c8665b31da35bb588d51 (diff)
downloaddrakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar
drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.gz
drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.bz2
drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.tar.xz
drakx-backup-do-not-use-ced1ffcebee246fd51572566f1b4f08e6b981c23.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_24mdk
'V10_3_0_24mdk'.
Diffstat (limited to 'mdk-stage1/ppp/scripts/ip-down.local.add')
-rw-r--r--mdk-stage1/ppp/scripts/ip-down.local.add20
1 files changed, 0 insertions, 20 deletions
diff --git a/mdk-stage1/ppp/scripts/ip-down.local.add b/mdk-stage1/ppp/scripts/ip-down.local.add
deleted file mode 100644
index b93590e49..000000000
--- a/mdk-stage1/ppp/scripts/ip-down.local.add
+++ /dev/null
@@ -1,20 +0,0 @@
-
-#
-# This sample code shows you one way to modify your setup to allow automatic
-# configuration of your resolv.conf for peer supplied DNS addresses when using
-# the `usepeerdns' option.
-#
-# In my case I just added this to my /etc/ppp/ip-down.local script. You may need to
-# create an executable script if one does not exist.
-#
-# Nick Walker (nickwalker@email.com)
-#
-
-if [ -n "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then
- if [ -f /etc/ppp/resolv.prev ]; then
- cp -f /etc/ppp/resolv.prev /etc/resolv.conf
- else
- rm -f /etc/resolv.conf
- fi
-fi
-