summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-linkdown
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-08-23 15:05:17 +0000
committerErmal <eri@pfsense.org>2010-08-23 15:05:17 +0000
commit228aec462413320218cdf6351122358e5cf9eab4 (patch)
tree9674e8d6724e29c04ef76aacb736c993bf8d7182 /usr/local/sbin/ppp-linkdown
parentef13b720da1a77120a6ba13e69a830f1302f0829 (diff)
downloadpfsense-228aec462413320218cdf6351122358e5cf9eab4.zip
pfsense-228aec462413320218cdf6351122358e5cf9eab4.tar.gz
On ppp type interfaces down event signal for resolv.conf to be generated to have the latest dns servers. Ticket #838.
Diffstat (limited to 'usr/local/sbin/ppp-linkdown')
-rwxr-xr-xusr/local/sbin/ppp-linkdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/sbin/ppp-linkdown b/usr/local/sbin/ppp-linkdown
index 3734b0b..774b0bb 100755
--- a/usr/local/sbin/ppp-linkdown
+++ b/usr/local/sbin/ppp-linkdown
@@ -9,3 +9,4 @@ fi
/bin/rm -f /var/etc/nameserver_$1
/bin/rm -f /tmp/$1_router
/bin/rm -f /tmp/$1up
+/usr/bin/touch /tmp/resolv_conf_generate
OpenPOWER on IntegriCloud