diff options
Diffstat (limited to 'recipes-core/mlinux-scripts')
-rwxr-xr-x | recipes-core/mlinux-scripts/mlinux-scripts-1.0/mlinux-set-apn | 2 |
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" |