From 24cf43b69a8a057785facc2c05ea790298e7f149 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Fri, 20 Nov 2020 09:27:18 +0100 Subject: rules: cleanup busybox init start script handling Make the options only visible if INITMETHOD_BBINIT is enabled. This makes the menu cleaner and the extra 'ifdef PTXCONF_INITMETHOD_BBINIT' can be dropped. Signed-off-by: Michael Olbrich --- rules/portmap.make | 2 -- 1 file changed, 2 deletions(-) (limited to 'rules/portmap.make') diff --git a/rules/portmap.make b/rules/portmap.make index c09854a3b..18a7790c7 100644 --- a/rules/portmap.make +++ b/rules/portmap.make @@ -56,7 +56,6 @@ $(STATEDIR)/portmap.targetinstall: # # busybox init # -ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_PORTMAP_STARTSCRIPT @$(call install_alternative, portmap, 0, 0, 0755, /etc/init.d/portmapd, n) @@ -65,7 +64,6 @@ ifneq ($(call remove_quotes,$(PTXCONF_PORTMAP_BBINIT_LINK)),) ../init.d/portmapd, \ /etc/rc.d/$(PTXCONF_PORTMAP_BBINIT_LINK)) endif -endif endif @$(call install_finish, portmap) @$(call touch) -- cgit v1.2.3