summaryrefslogtreecommitdiffstats
path: root/rules/rsync.make
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2006-11-12 10:20:31 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2006-11-12 10:20:31 +0000
commit5939567b45e979b76743a2862f48c9b63bff93ae (patch)
treed63812bb97a131c171d6af0aff38b5dd11c34e1c /rules/rsync.make
parent4edc6efe3755706c591003b779cd45e3c428447d (diff)
downloadptxdist-5939567b45e979b76743a2862f48c9b63bff93ae.tar.gz
ptxdist-5939567b45e979b76743a2862f48c9b63bff93ae.tar.xz
move endif directive to create link only on demand
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6306 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/rsync.make')
-rw-r--r--rules/rsync.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/rsync.make b/rules/rsync.make
index 7a8cff10b..f27faf862 100644
--- a/rules/rsync.make
+++ b/rules/rsync.make
@@ -170,6 +170,7 @@ endif
endif
ifdef PTXCONF_RSYNC_STARTUP_TYPE_STANDALONE
+# provide everything for standalone mode
ifdef PTXCONF_ROOTFS_ETC_INITD_RSYNC_DEFAULT
# install generic one
@$(call install_copy, rsync, 0, 0, 0755, \
@@ -188,16 +189,15 @@ ifneq ($(PTXCONF_RSYNC_CONFIG_FILE),"")
@CONFIG@, \
"--config=$(PTXCONF_RSYNC_CONFIG_FILE)" )
endif
-endif
-
#
# FIXME: Is this packet the right location for the link?
#
ifneq ($(PTXCONF_ROOTFS_ETC_INITD_RSYNC_LINK),"")
@$(call install_copy, rsync, 0, 0, 0755, /etc/rc.d)
- @$(call install_link, rsync, ../init.d/rsync, \
+ @$(call install_link, rsync, ../init.d/rsyncd, \
/etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_RSYNC_LINK))
endif
+endif
@$(call install_finish, rsync)
@$(call touch, $@)