summaryrefslogtreecommitdiff
path: root/package/ppp/files.old/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-03 09:38:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-03 09:38:58 +0000
commit97697c332fd4a67878b0aa8af8a03d1b1ef7c298 (patch)
treec48fe7468a58098cf3a20f9cd1bf2e4f5642bf27 /package/ppp/files.old/etc
parentb0449ccf04eae59aec6f90493d5a563fa8b15eea (diff)
downloadmtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.zip
mtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.tar.gz
mtk-20170518-97697c332fd4a67878b0aa8af8a03d1b1ef7c298.tar.bz2
Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> SVN-Revision: 31564
Diffstat (limited to 'package/ppp/files.old/etc')
-rwxr-xr-xpackage/ppp/files.old/etc/ppp/ip-down2
-rwxr-xr-xpackage/ppp/files.old/etc/ppp/ip-up2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ppp/files.old/etc/ppp/ip-down b/package/ppp/files.old/etc/ppp/ip-down
index 487ff6b..994b15a 100755
--- a/package/ppp/files.old/etc/ppp/ip-down
+++ b/package/ppp/files.old/etc/ppp/ip-down
@@ -10,7 +10,7 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
[ -z "$PPP_IPPARAM" ] || {
case "$PPP_IFACE" in
# only handle uci managed interfaces here, others are done by generic hotplug
- 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*)
+ 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*|l2tp-*)
env -i ACTION="ifdown" INTERFACE="$PPP_IPPARAM" DEVICE="$PPP_IFACE" PROTO=ppp /sbin/hotplug-call "iface"
uci_revert_state network "$PPP_IPPARAM"
;;
diff --git a/package/ppp/files.old/etc/ppp/ip-up b/package/ppp/files.old/etc/ppp/ip-up
index 353f667..44f660b 100755
--- a/package/ppp/files.old/etc/ppp/ip-up
+++ b/package/ppp/files.old/etc/ppp/ip-up
@@ -23,7 +23,7 @@ export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
[ -z "$PPP_IPPARAM" ] || {
case "$PPP_IFACE" in
# only handle uci managed interfaces here, others are done by generic hotplug
- 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*)
+ 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*|l2tp-*)
env -i ACTION="ifup" INTERFACE="$PPP_IPPARAM" DEVICE="$PPP_IFACE" PROTO=ppp /sbin/hotplug-call "iface"
;;
esac