Change Details
| package/ppp/Makefile |
| 1 | 1 | # |
| 2 | | # Copyright (C) 2006-2010 OpenWrt.org |
| 2 | # Copyright (C) 2006-2011 OpenWrt.org |
| 3 | 3 | # |
| 4 | 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | 5 | # See /LICENSE for more information. |
| ... | ... | |
| 10 | 10 | |
| 11 | 11 | PKG_NAME:=ppp |
| 12 | 12 | PKG_VERSION:=2.4.4 |
| 13 | | PKG_RELEASE:=16 |
| 13 | PKG_RELEASE:=17 |
| 14 | 14 | |
| 15 | 15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 16 | 16 | PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ |
| package/ppp/files/etc/ppp/ip-up |
| 20 | 20 | [ -n "$dns" ] && add_dns "$PPP_IPPARAM" $dns |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | | [ -z "$PPP_IPPARAM" ] || env -i ACTION="ifup" INTERFACE="$PPP_IPPARAM" DEVICE="$PPP_IFACE" PROTO=ppp /sbin/hotplug-call "iface" |
| 23 | [ -z "$PPP_IPPARAM" ] || { |
| 24 | case "$PPP_IFACE" in |
| 25 | # only handle uci managed interfaces here, others are done by generic hotplug |
| 26 | 3g-*|ppp-*|pppoa-*|pppoe-*|pptp-*) |
| 27 | env -i ACTION="ifup" INTERFACE="$PPP_IPPARAM" DEVICE="$PPP_IFACE" PROTO=ppp /sbin/hotplug-call "iface" |
| 28 | ;; |
| 29 | esac |
| 30 | } |
| 24 | 31 | |
| 25 | 32 | [ -d /etc/ppp/ip-up.d ] && { |
| 26 | 33 | for SCRIPT in /etc/ppp/ip-up.d/* |
Download the corresponding diff file