summaryrefslogtreecommitdiffstats
path: root/rules/proftpd.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-11-20 09:27:18 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-11-20 11:37:24 +0100
commit24cf43b69a8a057785facc2c05ea790298e7f149 (patch)
treee98b984bbaa9ffe4caca04fe25465f52c134b66e /rules/proftpd.make
parent1971a748177952477cd81c85ce5de47b7f6f4387 (diff)
downloadptxdist-24cf43b69a8a057785facc2c05ea790298e7f149.tar.gz
ptxdist-24cf43b69a8a057785facc2c05ea790298e7f149.tar.xz
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 <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/proftpd.make')
-rw-r--r--rules/proftpd.make2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules/proftpd.make b/rules/proftpd.make
index 538acb0ad..8cc9893d1 100644
--- a/rules/proftpd.make
+++ b/rules/proftpd.make
@@ -87,7 +87,6 @@ $(STATEDIR)/proftpd.targetinstall:
# #
# # busybox init
# #
-ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_PROFTPD_STARTSCRIPT
@$(call install_alternative, proftpd, 0, 0, 0755, /etc/init.d/proftpd)
@@ -97,7 +96,6 @@ ifneq ($(call remove_quotes,$(PTXCONF_PROFTPD_BBINIT_LINK)),)
/etc/rc.d/$(PTXCONF_PROFTPD_BBINIT_LINK))
endif
endif
-endif
@$(call install_finish, proftpd)