ppp: use more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46942
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=comgt
|
||||
PKG_VERSION:=0.32
|
||||
PKG_RELEASE:=26
|
||||
PKG_RELEASE:=27
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME).$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=@SF/comgt
|
||||
|
||||
@@ -89,9 +89,6 @@ proto_3g_setup() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# Enable RFC 7278
|
||||
proto_export "EXTENDPREFIX=1"
|
||||
|
||||
connect="${apn:+USE_APN=$apn }DIALNUMBER=$dialnumber /usr/sbin/chat -t5 -v -E -f $chat"
|
||||
ppp_generic_setup "$interface" \
|
||||
noaccomp \
|
||||
@@ -99,6 +96,7 @@ proto_3g_setup() {
|
||||
novj \
|
||||
nobsdcomp \
|
||||
noauth \
|
||||
set EXTENDPREFIX=1 \
|
||||
lock \
|
||||
crtscts \
|
||||
115200 "$device"
|
||||
|
||||
Reference in New Issue
Block a user