summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/ip-up.script.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/pppoe/ip-up.script.tmpl')
-rw-r--r--data/templates/pppoe/ip-up.script.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/pppoe/ip-up.script.tmpl b/data/templates/pppoe/ip-up.script.tmpl
index 6adea4bd7..8009b2e6f 100644
--- a/data/templates/pppoe/ip-up.script.tmpl
+++ b/data/templates/pppoe/ip-up.script.tmpl
@@ -6,7 +6,7 @@ if [ "$6" != "{{ ifname }}" ]; then
exit
fi
-{% if not on_demand %}
+{% if not connect_on_demand %}
# add some info to syslog
DIALER_PID=$(cat /var/run/{{ ifname }}.pid)
logger -t pppd[$DIALER_PID] "executing $0"