summaryrefslogtreecommitdiff
path: root/recipes-core/mlinux-scripts
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-10-13 11:04:58 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-10-13 16:37:10 -0500
commit95bfc5cd9e0295e73c2c7cbd007fc8a3c9f80ab5 (patch)
treebe9c8af0dce80a046c0e1b89f6bed266fcada236 /recipes-core/mlinux-scripts
parentfbd8159eec0bbeb8a819d9da81268b9006bd3a7b (diff)
downloadmeta-mlinux-95bfc5cd9e0295e73c2c7cbd007fc8a3c9f80ab5.tar.gz
meta-mlinux-95bfc5cd9e0295e73c2c7cbd007fc8a3c9f80ab5.tar.bz2
meta-mlinux-95bfc5cd9e0295e73c2c7cbd007fc8a3c9f80ab5.zip
leu1:fix: chat script
Diffstat (limited to 'recipes-core/mlinux-scripts')
-rwxr-xr-xrecipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn b/recipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn
index 1c9b430..85839f8 100755
--- a/recipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn
+++ b/recipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn
@@ -32,7 +32,7 @@ leu1_chat_file=/etc/ppp/peers/leu1_chat
sed -r -i "s/^OK\s+'AT\+CGDCONT=1,\"IP\",\"[^\"]*\"'$/OK 'AT\+CGDCONT=1,\"IP\",\"${apn}\"'/" $gsm_chat_file
sed -r -i "s/^OK\s+'AT\+CGDCONT=3,\"IPV4V6\",\"[^\"]*\"'$/OK 'AT\+CGDCONT=3,\"IPV4V6\",\"${apn}\"'/" $lvw2_chat_file
-sed -r -i "s/^OK\s+'AT\+CGDCONT=3,\"IP\",\"[^\"]*\"'$/OK 'AT\+CGDCONT=3,\"IP\",\"${apn}\"'/" $leu1_chat_file
+sed -r -i "s/^OK\s+'AT\+CGDCONT=1,\"IPV4V6\",\"[^\"]*\"'$/OK 'AT\+CGDCONT=1,\"IPV4V6\",\"${apn}\"'/" $leu1_chat_file
if [[ $? != 0 ]]; then
echo "Failed to change APN"