diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/connections/mobile_ppp | 2 | ||||
-rw-r--r-- | src/lib/connections/pppoe | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/connections/mobile_ppp b/src/lib/connections/mobile_ppp index 2466ad7..b966390 100644 --- a/src/lib/connections/mobile_ppp +++ b/src/lib/connections/mobile_ppp @@ -30,7 +30,7 @@ modem passive novj holdoff 10 -maxfail 5 +maxfail ${MaxFail:-5} EOF # Debug pppd output separately from netctl diff --git a/src/lib/connections/pppoe b/src/lib/connections/pppoe index 87f9ee5..65fee79 100644 --- a/src/lib/connections/pppoe +++ b/src/lib/connections/pppoe @@ -36,7 +36,7 @@ pppoe_up() { if is_yes "${UsePeerDNS:-yes}"; then echo "usepeerdns" >> "${cfg}" fi - echo "maxfail 5" >> "${cfg}" + echo "maxfail ${MaxFail:-5}" >> "${cfg}" echo "updetach" >> "${cfg}" if [[ ${ConnectionMode} == demand ]]; then echo "demand" >> "${cfg}" |