diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 14:42:24 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:24:00 +0200 |
commit | c43987e7ab0f9921f7622b8c6b2ce07d3ae5d1df (patch) | |
tree | 34fcdc37b76daa220baa513b9ab5b6e7fd4d2fe6 /rules/thttpd.make | |
parent | f309e1aff80606afbacfd6ee68d00c001356aa91 (diff) | |
download | ptxdist-c43987e7ab0f9921f7622b8c6b2ce07d3ae5d1df.tar.gz ptxdist-c43987e7ab0f9921f7622b8c6b2ce07d3ae5d1df.tar.xz |
[thttpd] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/thttpd.make')
-rw-r--r-- | rules/thttpd.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/thttpd.make b/rules/thttpd.make index f6775b979..a69389d25 100644 --- a/rules/thttpd.make +++ b/rules/thttpd.make @@ -72,6 +72,12 @@ $(STATEDIR)/thttpd.targetinstall: ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_THTTPD_STARTSCRIPT @$(call install_alternative, thttpd, 0, 0, 0755, /etc/init.d/thttpd, n) + +ifneq ($(call remove_quotes,$(PTXCONF_THTTPD_BBINIT_LINK)),) + @$(call install_link, thttpd, \ + ../init.d/thttpd, \ + /etc/rc.d/$(PTXCONF_THTTPD_BBINIT_LINK)) +endif endif endif |