diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-04 13:54:40 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-04 14:06:31 +0200 |
commit | 1dd5728a0612658107d9a9afa5b99702d0bd6c51 (patch) | |
tree | 09bc18c2034c08f0bc3767695c97b80b8bbf2dbf /data/templates/wwan/peer.tmpl | |
parent | 8dcf042a7f58dfac590b28174dc1d9b87ce5a893 (diff) | |
download | vyos-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.tmpl | 60 |
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 }}' |