summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.alpine.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.alpine.tmpl')
-rw-r--r--templates/ntp.conf.alpine.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/ntp.conf.alpine.tmpl b/templates/ntp.conf.alpine.tmpl
new file mode 100644
index 00000000..59ca8fc1
--- /dev/null
+++ b/templates/ntp.conf.alpine.tmpl
@@ -0,0 +1,10 @@
+## template:jinja
+# /etc/ntp.conf
+#
+# Configuration for Busybox ntpd - it only supports "server" lines.
+
+{% if servers %}# Servers
+{% endif %}
+{% for server in servers -%}
+server {{server}}
+{% endfor %}