summaryrefslogtreecommitdiff
path: root/data/templates/pppoe
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 16:46:46 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 16:46:46 +0200
commit0e3953fbed9709095cc2738862efdcffaee31230 (patch)
treed572dee27851e28ec16760e82c2c3256065fedc1 /data/templates/pppoe
parentcce97b21745987f88228cf0ea8c147243f3aec4f (diff)
downloadvyos-1x-0e3953fbed9709095cc2738862efdcffaee31230.tar.gz
vyos-1x-0e3953fbed9709095cc2738862efdcffaee31230.zip
T2230: confert dos to unix line endings
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r--data/templates/pppoe/ip-pre-up.script.tmpl38
1 files changed, 19 insertions, 19 deletions
diff --git a/data/templates/pppoe/ip-pre-up.script.tmpl b/data/templates/pppoe/ip-pre-up.script.tmpl
index f72781e41..9a7ba7d57 100644
--- a/data/templates/pppoe/ip-pre-up.script.tmpl
+++ b/data/templates/pppoe/ip-pre-up.script.tmpl
@@ -1,19 +1,19 @@
-#!/bin/sh
-
-# As PPPoE is an "on demand" interface we need to re-configure it when it
-# becomes up
-
-if [ "$6" != "{{ intf }}" ]; then
- exit
-fi
-
-# add some info to syslog
-DIALER_PID=$(cat /var/run/{{ intf }}.pid)
-logger -t pppd[$DIALER_PID] "executing $0"
-
-echo "{{ description }}" > /sys/class/net/{{ intf }}/ifalias
-
-{% if vrf -%}
-logger -t pppd[$DIALER_PID] "configuring dialer interface $6 for VRF {{ vrf }}"
-ip link set dev {{ intf }} master {{ vrf }}
-{% endif %}
+#!/bin/sh
+
+# As PPPoE is an "on demand" interface we need to re-configure it when it
+# becomes up
+
+if [ "$6" != "{{ intf }}" ]; then
+ exit
+fi
+
+# add some info to syslog
+DIALER_PID=$(cat /var/run/{{ intf }}.pid)
+logger -t pppd[$DIALER_PID] "executing $0"
+
+echo "{{ description }}" > /sys/class/net/{{ intf }}/ifalias
+
+{% if vrf -%}
+logger -t pppd[$DIALER_PID] "configuring dialer interface $6 for VRF {{ vrf }}"
+ip link set dev {{ intf }} master {{ vrf }}
+{% endif %}