]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ppp/__init__.py
Merge branch 'master' of git.llucax.com.ar:/var/lib/git/software/pymin into procman
[software/pymin.git] / pymin / services / ppp / __init__.py
index 2115d65de3ec08a0b08b95d6917a0ed4dd246b07..db2a53541857d45f5f9bb4884563c657e81572d6 100644 (file)
@@ -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')