fix typo.
[vuplus_openvuplus] / meta-openvuplus / recipes-enigma2 / dreambox-modem-ppp-scripts / dreambox-modem-ppp-scripts / dial.modem
1 #!/bin/sh
2 #
3 # This script is used to dial a modem using a specific
4 # number.
5 #
6
7 if [ $# -lt 1 ]
8 then
9   echo "$0: no phone number given." >&2
10   exit -1
11 fi
12
13 PHONENUM=$1
14
15 chat -v \
16 ABORT "N" \
17 ABORT "n"  \
18 '' 'ATZ' \
19 'O' "ATDT${PHONENUM}" \
20 'c'