]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ppp/templates/options.X
Remove duplicated code.
[software/pymin.git] / pymin / services / ppp / templates / options.X
index 11cacbc2ed0b9b3d1faab27b8650d4f3178e0ed4..6ac57141ced0abd631d14284a93ee5170fa56ff0 100644 (file)
@@ -1 +1,8 @@
-lock ${conn.dev}
\ No newline at end of file
+linkname ${conn.name}
+% if conn.type == 'PPP':
+lock ${conn.device}
+% elif conn.type == 'OE':
+lock plugin rp-pppoe.so ${conn.device}
+% elif conn.type == 'TUNNEL':
+lock noauth nobsdcomp nodeflate
+% endif
\ No newline at end of file