]> git.ipfire.org Git - people/jschlag/network.git/commitdiff
modem: Remove support for login scripts
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Mar 2016 13:29:39 +0000 (13:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Mar 2016 13:29:39 +0000 (13:29 +0000)
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 <michael.tremer@ipfire.org>
Reviewed-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
src/ppp/dialer

index 5d8be0c3bf4785350ae9237c100365725081fdd8..19d47aa7549db1192a78d8678767a0946ee8e003 100644 (file)
@@ -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}