summaryrefslogtreecommitdiffstats
path: root/rules/openntpd.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-02-01 11:31:28 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-02-01 11:31:28 +0000
commitb226439389fb7466fe19d882251e59ea92f42d8f (patch)
treeec726f78aa5e0152cec706dda9d9638c0b49f579 /rules/openntpd.make
parent173b292f2a862b8df170c34a90b8c4277345009b (diff)
downloadptxdist-b226439389fb7466fe19d882251e59ea92f42d8f.tar.gz
ptxdist-b226439389fb7466fe19d882251e59ea92f42d8f.tar.xz
* openntpd: configure file added (on demand)
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6982 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/openntpd.make')
-rw-r--r--rules/openntpd.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/openntpd.make b/rules/openntpd.make
index 2b13ba0a2..3951273c1 100644
--- a/rules/openntpd.make
+++ b/rules/openntpd.make
@@ -124,6 +124,11 @@ $(STATEDIR)/openntpd.targetinstall: $(openntpd_targetinstall_deps_default)
@$(call install_copy, openntpd, 0, 0, 0755, $(OPENNTPD_DIR)/ntpd, /usr/sbin/ntpd)
+ifdef PTXCONF_OPENNTPD_USERS_CONFIG
+ @$(call install_copy, openntpd, 0, 0, 0644, \
+ ${PTXDIST_WORKSPACE}/projectroot/etc/ntpd.conf, \
+ /etc/ntpd.conf, n)
+endif
@$(call install_finish, openntpd)
@$(call touch, $@)