summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ip-down.d.dns.sh
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:48 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:48 (GMT)
commitc282e465b7e2a9dc862d7eaa38b43a2f68c0127d (patch)
tree08cb25f781f57345216b9e94bd3e739e5ccb58b9 /abs/core/ppp/ip-down.d.dns.sh
parentee24082e49f00f0ec0d4b9720aca389dfb253cba (diff)
downloadlinhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.zip
linhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.tar.gz
linhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.tar.bz2
ppp: upgrade
Diffstat (limited to 'abs/core/ppp/ip-down.d.dns.sh')
-rw-r--r--abs/core/ppp/ip-down.d.dns.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core/ppp/ip-down.d.dns.sh b/abs/core/ppp/ip-down.d.dns.sh
new file mode 100644
index 0000000..9e19f7d
--- /dev/null
+++ b/abs/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