summaryrefslogtreecommitdiff
path: root/data/templates/wifi
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 22:21:23 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 22:21:23 +0200
commit5a04f7d6a9c4954eee85d9cf8c27e29b0a3a0628 (patch)
treec473d04e662deac51c53bf35333dde61eba08ef9 /data/templates/wifi
parent6563f29bedb6478cc416bfddc80b1e9dc41f7382 (diff)
downloadvyos-1x-5a04f7d6a9c4954eee85d9cf8c27e29b0a3a0628.tar.gz
vyos-1x-5a04f7d6a9c4954eee85d9cf8c27e29b0a3a0628.zip
wifi-regdom: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data/templates/wifi')
-rw-r--r--data/templates/wifi/cfg80211.conf.tmpl3
-rw-r--r--data/templates/wifi/crda.tmpl3
2 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/wifi/cfg80211.conf.tmpl b/data/templates/wifi/cfg80211.conf.tmpl
new file mode 100644
index 000000000..b21bacc1e
--- /dev/null
+++ b/data/templates/wifi/cfg80211.conf.tmpl
@@ -0,0 +1,3 @@
+{%- if regdom -%}
+options cfg80211 ieee80211_regdom={{ regdom }}
+{% endif %}
diff --git a/data/templates/wifi/crda.tmpl b/data/templates/wifi/crda.tmpl
new file mode 100644
index 000000000..750ad86ee
--- /dev/null
+++ b/data/templates/wifi/crda.tmpl
@@ -0,0 +1,3 @@
+{%- if regdom -%}
+REGDOMAIN={{ regdom }}
+{% endif %}