From e080a71beb995ee146f90670552b0641bb8e035a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 26 Mar 2016 13:29:39 +0000 Subject: [PATCH] modem: Remove support for login scripts It seems that no provider requires these any more and that they cause problems with providers that use username and password for authentication. Signed-off-by: Michael Tremer Reviewed-by: Arne Fitzenreiter --- src/ppp/dialer | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ppp/dialer b/src/ppp/dialer index 5d8be0c3..19d47aa7 100644 --- a/src/ppp/dialer +++ b/src/ppp/dialer @@ -113,12 +113,6 @@ println "OK" "${at_dial}${PHONE_NUMBER}" # Wait for the CONNECT string. println "CONNECT" "\\c" -# If login credentials were set, we send them. -if isset USERNAME && isset PASSWORD; then - println "ogin:--ogin:" "${USERNAME}" - println "assword:" "${PASSWORD}" -fi - # Exec the chat command which will start talking to the modem. log DEBUG "Exec'ing chat with command line: ${commandline}" exec chat ${commandline} -- 2.39.2