diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-09-15 14:52:47 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-09-15 14:52:47 +0000 |
commit | 3c335bb439adb643176d34d9f70508a642779ce1 (patch) | |
tree | d090c5f8c76f04dd64d6480abdfa1f19ba1fed90 /package/network/utils/comgt/files/3g.sh | |
parent | 90e1b84f152d130754001a18f22b2bbe31237a81 (diff) | |
download | master-31e0f0ae-3c335bb439adb643176d34d9f70508a642779ce1.tar.gz master-31e0f0ae-3c335bb439adb643176d34d9f70508a642779ce1.tar.bz2 master-31e0f0ae-3c335bb439adb643176d34d9f70508a642779ce1.zip |
ppp: use more reliable way to set script environment
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46942
Diffstat (limited to 'package/network/utils/comgt/files/3g.sh')
-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" |