X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/9a8d314470c4fa1f0fb347470983365853d663d4..a36b84c65e936da5c35c7f66c7e21bbc94e21dc7:/pymin/services/ppp/__init__.py?ds=sidebyside diff --git a/pymin/services/ppp/__init__.py b/pymin/services/ppp/__init__.py index 2115d65..db2a535 100644 --- a/pymin/services/ppp/__init__.py +++ b/pymin/services/ppp/__init__.py @@ -121,7 +121,6 @@ class PppHandler(Restorable, ConfigWriter, ReloadHandler, TransactionalHandler): for name in names: if name in self.conns: if self.conns[name]._running: - call(('poff', name)) if path.exists('/var/run/ppp-' + name + '.pid'): pid = file('/var/run/ppp-' + name + '.pid').readline() try: @@ -197,6 +196,7 @@ class PppHandler(Restorable, ConfigWriter, ReloadHandler, TransactionalHandler): if __name__ == '__main__': + p = PppHandler() p.conn.add('ppp_c','nico','nico',type='PPP',device='tty0') p.conn.add('pppoe_c','fede','fede',type='OE',device='tty1')