summaryrefslogtreecommitdiff
path: root/data/templates/wwan/peer.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-04 13:54:40 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-04 14:06:31 +0200
commit1dd5728a0612658107d9a9afa5b99702d0bd6c51 (patch)
tree09bc18c2034c08f0bc3767695c97b80b8bbf2dbf /data/templates/wwan/peer.tmpl
parent8dcf042a7f58dfac590b28174dc1d9b87ce5a893 (diff)
downloadvyos-1x-1dd5728a0612658107d9a9afa5b99702d0bd6c51.tar.gz
vyos-1x-1dd5728a0612658107d9a9afa5b99702d0bd6c51.zip
wwan: T2219: use Jinja variables rather then Bash args
Diffstat (limited to 'data/templates/wwan/peer.tmpl')
-rw-r--r--data/templates/wwan/peer.tmpl60
1 files changed, 30 insertions, 30 deletions
diff --git a/data/templates/wwan/peer.tmpl b/data/templates/wwan/peer.tmpl
index 7de1c8764..04ab4f844 100644
--- a/data/templates/wwan/peer.tmpl
+++ b/data/templates/wwan/peer.tmpl
@@ -1,30 +1,30 @@
-### Autogenerated by interfaces-wirelessmodem.py ###
-
-{% if description %}
-# {{ description }}
-{% endif %}
-ifname {{ intf }}
-ipparam "{{ intf }} {{ metric }}"
-linkname {{ intf }}
-{% if name_server -%}
-usepeerdns
-{%- endif %}
-# physical device
-/dev/{{ device }}
-lcp-echo-failure 0
-115200
-debug
-logfile {{ logfile }}
-nodefaultroute
-ipcp-max-failure 4
-ipcp-accept-local
-ipcp-accept-remote
-noauth
-crtscts
-lock
-persist
-{% if on_demand -%}
-demand
-{%- endif %}
-
-connect '/usr/sbin/chat -v -t6 -f {{ chat_script }}'
+### Autogenerated by interfaces-wirelessmodem.py ###
+
+{% if description %}
+# {{ description }}
+{% endif %}
+ifname {{ intf }}
+ipparam {{ intf }}
+linkname {{ intf }}
+{% if name_server -%}
+usepeerdns
+{%- endif %}
+# physical device
+/dev/{{ device }}
+lcp-echo-failure 0
+115200
+debug
+logfile {{ logfile }}
+nodefaultroute
+ipcp-max-failure 4
+ipcp-accept-local
+ipcp-accept-remote
+noauth
+crtscts
+lock
+persist
+{% if on_demand -%}
+demand
+{%- endif %}
+
+connect '/usr/sbin/chat -v -t6 -f {{ chat_script }}'