From 2cd0f2aad01e57fe052622c7062d472e8cda3bcc Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 20 May 2021 20:21:16 +0200 Subject: sysctl: T3565: initial implementation in XML and Python migrate from old vyatta-cfg-system / Perl implementation. --- data/templates/system/sysctl.conf.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/templates/system/sysctl.conf.tmpl (limited to 'data/templates/system/sysctl.conf.tmpl') diff --git a/data/templates/system/sysctl.conf.tmpl b/data/templates/system/sysctl.conf.tmpl new file mode 100644 index 000000000..72af82ee5 --- /dev/null +++ b/data/templates/system/sysctl.conf.tmpl @@ -0,0 +1,7 @@ +# autogenerated by system_sysctl.py + +{% if parameter is defined and parameter is not none %} +{% for k, v in parameter.items() %} +{{ k }} = {{ v.value }} +{% endfor %} +{% endif %} -- cgit v1.2.3