summaryrefslogtreecommitdiff
path: root/testing/ppp/ip-down.d.dns.sh
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
commit3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch)
tree576b183074d925e58c2e37ae2b641e712bceacb1 /testing/ppp/ip-down.d.dns.sh
parentb625511a28fd8401f524474b5339e75328595150 (diff)
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'testing/ppp/ip-down.d.dns.sh')
-rw-r--r--testing/ppp/ip-down.d.dns.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/ppp/ip-down.d.dns.sh b/testing/ppp/ip-down.d.dns.sh
new file mode 100644
index 000000000..9e19f7d1b
--- /dev/null
+++ b/testing/ppp/ip-down.d.dns.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+[ -e /etc/resolv.conf.backup.${IFNAME} ] && mv /etc/resolv.conf.backup.${IFNAME} /etc/resolv.conf