summaryrefslogtreecommitdiffstats
path: root/rules/apache2.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-26 12:28:57 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-27 15:23:56 +0200
commit65cb061362479b46444ae4e4707a18053139c863 (patch)
treea550a505e52b939927717c5711fdfd13b60eff1a /rules/apache2.make
parent692ad1bbf458607fb0ef4d1a8197f7b3f2297e9b (diff)
downloadptxdist-65cb061362479b46444ae4e4707a18053139c863.tar.gz
ptxdist-65cb061362479b46444ae4e4707a18053139c863.tar.xz
[apache2] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/apache2.make')
-rw-r--r--rules/apache2.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/apache2.make b/rules/apache2.make
index cf54094fd..55fbe34b5 100644
--- a/rules/apache2.make
+++ b/rules/apache2.make
@@ -286,6 +286,12 @@ ifdef PTXCONF_APACHE2_STARTSCRIPT
@APACHECONFIG@, $(PTXCONF_APACHE2_CONFIGDIR) )
@$(call install_replace, apache2, /etc/init.d/apache2, \
@LOGPATH@, $(PTXCONF_APACHE2_LOGDIR) )
+
+ifneq ($(call remove_quotes, $(PTXCONF_APACHE2_BBINIT_LINK)),)
+ @$(call install_link, apache2, \
+ ../init.d/apache2, \
+ /etc/rc.d/$(PTXCONF_APACHE2_BBINIT_LINK))
+endif
endif
endif