mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-29 01:11:06 +02:00
[package] pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23551 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bcb63b9e02
commit
314e5796a5
@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
|||||||
|
|
||||||
PKG_NAME:=ppp
|
PKG_NAME:=ppp
|
||||||
PKG_VERSION:=2.4.4
|
PKG_VERSION:=2.4.4
|
||||||
PKG_RELEASE:=12
|
PKG_RELEASE:=13
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
||||||
|
@ -9,8 +9,8 @@ stop_interface_pppoa() {
|
|||||||
setup_interface_pppoa() {
|
setup_interface_pppoa() {
|
||||||
local config="$2"
|
local config="$2"
|
||||||
|
|
||||||
local device
|
local atmdev
|
||||||
config_get device "$config" device
|
config_get atmdev "$config" atmdev
|
||||||
|
|
||||||
local vpi
|
local vpi
|
||||||
config_get vpi "$config" vpi
|
config_get vpi "$config" vpi
|
||||||
@ -34,6 +34,6 @@ setup_interface_pppoa() {
|
|||||||
config_get mtu "$config" mtu
|
config_get mtu "$config" mtu
|
||||||
|
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin pppoatm.so ${device:+$device.}${vpi:-8}.${vci:-35} \
|
plugin pppoatm.so ${atmdev:+$atmdev.}${vpi:-8}.${vci:-35} \
|
||||||
${encaps} ${mtu:+mtu $mtu mru $mtu}
|
${encaps} ${mtu:+mtu $mtu mru $mtu}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user