SHA256
1
0
forked from pool/ppp
ppp/ppp-fix-bashisms.patch
Reinhard Max 9266bc7cfc I want to drop the linux-atm package.
drop the dependency on linux-atm-devel from ppp. ppp will still build with some ATM support using its local copy of linux-atm. Not sure if this is useful.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=84
2024-07-15 07:51:31 +00:00

30 lines
647 B
Diff

--- 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