diff options
author | Steven Barth <steven@midlink.org> | 2015-09-15 14:52:47 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-09-15 14:52:47 +0000 |
commit | 4410cd5cf9c1b07e36ce072336a847411afc6e96 (patch) | |
tree | 06c37f2486186f74ba1aaf0f71049907e4640746 /package/network/utils/comgt/files | |
parent | 7b79903dec1353fdf35d2c6e46aa3094d8ee8f10 (diff) | |
download | master-187ad058-4410cd5cf9c1b07e36ce072336a847411afc6e96.tar.gz master-187ad058-4410cd5cf9c1b07e36ce072336a847411afc6e96.tar.bz2 master-187ad058-4410cd5cf9c1b07e36ce072336a847411afc6e96.zip |
ppp: use more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46942 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/comgt/files')
-rw-r--r-- | package/network/utils/comgt/files/3g.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/package/network/utils/comgt/files/3g.sh b/package/network/utils/comgt/files/3g.sh index 8aecb0fd62..b0cdae234d 100644 --- a/package/network/utils/comgt/files/3g.sh +++ b/package/network/utils/comgt/files/3g.sh @@ -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" |