summaryrefslogtreecommitdiff
path: root/core/ppp/ip-down.d.dns.sh
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/ppp/ip-down.d.dns.sh
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/ppp/ip-down.d.dns.sh')
-rw-r--r--core/ppp/ip-down.d.dns.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/ppp/ip-down.d.dns.sh b/core/ppp/ip-down.d.dns.sh
new file mode 100644
index 000000000..9e19f7d1b
--- /dev/null
+++ b/core/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