X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/c8993fb7829ad17ea0936aa7cea2fceb8bcc8109..3c717546f26524f438aeadc7776b57579400f7cb:/pymin/services/ppp/templates/options.X?ds=sidebyside diff --git a/pymin/services/ppp/templates/options.X b/pymin/services/ppp/templates/options.X index 11cacbc..6ac5714 100644 --- a/pymin/services/ppp/templates/options.X +++ b/pymin/services/ppp/templates/options.X @@ -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