diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-05-06 19:15:43 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-05-06 19:15:43 +0000 |
commit | f82a8849b32f976354b70afdd230961e7bcf01f0 (patch) | |
tree | 6473de2a4d31695bc0941b9b2e6586a28c3e5621 /rules/openntpd.make | |
parent | 0c0ff60b78d11a607c1766c30dcfc14898647c80 (diff) | |
download | ptxdist-f82a8849b32f976354b70afdd230961e7bcf01f0.tar.gz ptxdist-f82a8849b32f976354b70afdd230961e7bcf01f0.tar.xz |
* openntpd: Added option for start script to OpenNTPD. Patch by
Carsten Schlote.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8128 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/openntpd.make')
-rw-r--r-- | rules/openntpd.make | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/rules/openntpd.make b/rules/openntpd.make index 7d37ec5fd..1547bf2e3 100644 --- a/rules/openntpd.make +++ b/rules/openntpd.make @@ -118,7 +118,7 @@ $(STATEDIR)/openntpd.targetinstall: $(openntpd_targetinstall_deps_default) @$(call install_fixup, openntpd,PRIORITY,optional) @$(call install_fixup, openntpd,VERSION,$(OPENNTPD_VERSION)) @$(call install_fixup, openntpd,SECTION,base) - @$(call install_fixup, openntpd,AUTHOR,"Bjoern Buerger <b.buerger\@pengutronix.de>") + @$(call install_fixup, openntpd,AUTHOR,"Carsten Schlote c.schlote\@konzeptpark.de>") @$(call install_fixup, openntpd,DEPENDS,) @$(call install_fixup, openntpd,DESCRIPTION,missing) @@ -128,7 +128,22 @@ ifdef PTXCONF_OPENNTPD_USERS_CONFIG @$(call install_copy, openntpd, 0, 0, 0644, \ ${PTXDIST_WORKSPACE}/projectroot/etc/ntpd.conf, \ /etc/ntpd.conf, n) +else + @$(call install_copy, openntpd, 0, 0, 0644, \ + $(OPENNTPD_DIR)/ntpd.conf, \ + /etc/ntpd.conf, n) endif + +ifdef PTXCONF_OPENNTPD_INITD_SCRIPT + # -- Initscript + @$(call install_copy, openntpd, 0,0, 755, \ + ${PTXDIST_WORKSPACE}/projectroot/etc/init.d/ntp, \ + /etc/init.d/ntp, n) + @$(call install_copy, openntpd, 0, 0, 0755, /etc/rc.d) + @$(call install_link, openntpd, ../init.d/ntp, \ + /etc/rc.d/S19_ntp) +endif + @$(call install_finish, openntpd) @$(call touch, $@) |