Changes to make PPP work again. mpd5 fails to establish a ppp link withoutsome username and password, so defaults are set if user enters nothing.Removed interface_ppp_configure call from interfaces_ppp_edit.php. It wasuseless there with the new structure, and it caused all PPP links to attempt...
Forgot re-editing.
Fix interface assignment and re-edit
Fix displaying ppp ports.
Fix PPP assignment.
Don't need the rm -f statement when using > redirect to overwrite thefile, and add the "then" to the if statements
Fix mistakes (now using "call" instead of "goto") and add check to SIM PIN setting routineso we don't have to set the pin every time if it's already set.
Be safer use the remote-ip address for adding route.
Explicitly set the exit status of the script to not make mpd fail.
Use full patch to command and fix route add command parameter is -iface and not -if.
View revisions
Also available in: Atom