diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2014-03-10 14:19:27 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2014-03-10 14:19:27 +0100 |
commit | d3380715e629e921efb9491a0b1e40a7c1c48e7f (patch) | |
tree | 5b07d34535b57cb0bf16dd2370828fa587e45c80 /src/lib | |
parent | ab0d58c5b6d2a52fa02d951308875a99c0f2e9d1 (diff) | |
download | netctl-d3380715e629e921efb9491a0b1e40a7c1c48e7f.tar.gz netctl-d3380715e629e921efb9491a0b1e40a7c1c48e7f.tar.xz |
mobile_ppp: Unhardcode the phone number to dial
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/connections/mobile_ppp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/mobile_ppp b/src/lib/connections/mobile_ppp index 5006c6c..6df30d8 100644 --- a/src/lib/connections/mobile_ppp +++ b/src/lib/connections/mobile_ppp @@ -65,7 +65,7 @@ TIMEOUT 3 GPRSpref) printf "\^SYSCFG=2,1,3fffffff,0,0";; esac)' 'OK-AT-OK' 'AT+CGDCONT=1,"IP",$(quote_word "$AccessPointName")' -'OK' 'ATDT*99#' +'OK' 'ATDT${PhoneNumber:-*99#}' TIMEOUT 30 CONNECT '' EOF |