summaryrefslogtreecommitdiff
path: root/testing/ppp/ip-down.d.dns.sh
diff options
context:
space:
mode:
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