summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/accel_pppoe.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py
index 0ef22110f..d110f51e1 100755
--- a/src/conf_mode/accel_pppoe.py
+++ b/src/conf_mode/accel_pppoe.py
@@ -514,6 +514,9 @@ def generate(c):
open(pppoe_conf,'w').write(config_text)
sl.syslog(sl.LOG_NOTICE, pppoe_config + ' written')
+ if c['authentication']['local-users']:
+ write_chap_secrets(c)
+
return c
def apply(c):