]> git.ipfire.org Git - people/arne_f/network.git/commitdiff
network: Add updetach option to pppoe hook.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jun 2010 22:39:46 +0000 (00:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 3 Jun 2010 22:39:46 +0000 (00:39 +0200)
This won't detach pppd unless the connection was successfully
established.^

hooks/pppoe

index 60460c92ff247102f0c3dce4710e87e1da90a89c..60fe455bc17dad19660e0584a151ae8f26a12f5a 100755 (executable)
@@ -164,7 +164,7 @@ mru ${MTU}
 # Disable the compression
 noccp noaccomp nodeflate nopcomp novj novjccomp nobsdcomp nomppe
 
-debug
+updetach debug
 EOF
 
        pppd file ${RED_RUN}/${LINKNAME}/options >/dev/null