--- scripts/redialer.orig +++ scripts/redialer @@ -31,7 +31,7 @@ PASSWORD=my_password # Function to initialize the modem and ensure that it is in command # state. This may not be needed, but it doesn't hurt. # -function initialize +initialize() { chat -v TIMEOUT 3 '' AT 'OK-+++\c-OK' return @@ -41,7 +41,7 @@ function initialize # # Script to dial a telephone # -function callnumber +callnumber() { chat -v \ ABORT '\nBUSY\r' \ @@ -66,7 +66,7 @@ chat -v \ # # Script to dial any telephone number # -function callall +callall() { # echo "dialing attempt number: $1" >/dev/console callnumber $PHONE1