Add some checks on interface_bring_down and remove unlinking of nameserver.conf it needs some more thinking on how to propperly do that.
Remove debugging
Correct error message.
It is legitimate to be called with an empty vlanif. The webgui uses this to create new vlans.
Correct some checks and use propper whitespace.
Untested but correct way to work with interfaces.
Cosmetic change to use the available function instead of replicating the process here.
Fix not needed escapes when using <<<EOF like start/end terminators. Pointy-hat: myself.
Untested change, exec.php is broken.Might work and prevent bogus gateway entries showing up.
Add more debugging to trace the pppoe problems.
View revisions
Also available in: Atom