diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-26 14:28:37 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-07-27 15:23:58 +0200 |
commit | b3e35cfe505a0cde32086940943c27125a4014d2 (patch) | |
tree | 68c543298cd98abccf50bee46dea1f15e44088cc /rules/portmap.make | |
parent | 72fec7a083bfbf377877f0b5dc790c3f4a720783 (diff) | |
download | ptxdist-b3e35cfe505a0cde32086940943c27125a4014d2.tar.gz ptxdist-b3e35cfe505a0cde32086940943c27125a4014d2.tar.xz |
[portmap] install rc.d link with the init script
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/portmap.make')
-rw-r--r-- | rules/portmap.make | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/portmap.make b/rules/portmap.make index 46643728b..6ff518350 100644 --- a/rules/portmap.make +++ b/rules/portmap.make @@ -65,6 +65,12 @@ $(STATEDIR)/portmap.targetinstall: ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_PORTMAP_STARTSCRIPT @$(call install_alternative, portmap, 0, 0, 0755, /etc/init.d/portmapd, n) + +ifneq ($(call remove_quotes,$(PTXCONF_PORTMAP_BBINIT_LINK)),) + @$(call install_link, portmap, \ + ../init.d/portmapd, \ + /etc/rc.d/$(PTXCONF_PORTMAP_BBINIT_LINK)) +endif endif endif |