From: Michael Tremer Date: Sat, 26 Mar 2016 13:29:39 +0000 (+0000) Subject: modem: Remove support for login scripts X-Git-Tag: 008~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e080a71beb995ee146f90670552b0641bb8e035a;p=network.git 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 --- 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}