From 5a04f7d6a9c4954eee85d9cf8c27e29b0a3a0628 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 5 Apr 2020 22:21:23 +0200 Subject: wifi-regdom: T2230: move inlined templates to dedicated files --- data/templates/wifi/cfg80211.conf.tmpl | 3 +++ data/templates/wifi/crda.tmpl | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 data/templates/wifi/cfg80211.conf.tmpl create mode 100644 data/templates/wifi/crda.tmpl (limited to 'data') 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 %} -- cgit v1.2.3