summaryrefslogtreecommitdiffstats
path: root/rules/rsync3.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-26 14:38:40 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-27 15:23:59 +0200
commit50525b8ae2b5d261c935df07d75eec6eefb4d637 (patch)
treebf1254ea0b20ff881bc0a763633f6cf9772e9815 /rules/rsync3.make
parent0dfd17c30907905e8c4253df33d1828dca2b45a6 (diff)
downloadptxdist-50525b8ae2b5d261c935df07d75eec6eefb4d637.tar.gz
ptxdist-50525b8ae2b5d261c935df07d75eec6eefb4d637.tar.xz
[rsync3] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/rsync3.make')
-rw-r--r--rules/rsync3.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/rsync3.make b/rules/rsync3.make
index 45f00369f..131a768ce 100644
--- a/rules/rsync3.make
+++ b/rules/rsync3.make
@@ -80,6 +80,12 @@ $(STATEDIR)/rsync3.targetinstall:
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_RSYNC3_STARTSCRIPT
@$(call install_alternative, rsync3, 0, 0, 0755, /etc/init.d/rsyncd, n)
+
+ifneq ($(call remove_quotes,$(PTXCONF_RSYNC3_BBINIT_LINK)),)
+ @$(call install_link, rsync3, \
+ ../init.d/rsyncd, \
+ /etc/rc.d/$(PTXCONF_RSYNC3_BBINIT_LINK))
+endif
endif
endif
@$(call install_finish, rsync3)