summaryrefslogtreecommitdiffstats
path: root/rules/samba.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/samba.make')
-rw-r--r--rules/samba.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/samba.make b/rules/samba.make
index e641ff1a9..02e45433c 100644
--- a/rules/samba.make
+++ b/rules/samba.make
@@ -184,6 +184,12 @@ endif
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_SAMBA_STARTSCRIPT
@$(call install_alternative, samba, 0, 0, 0755, /etc/init.d/samba)
+
+ifneq ($(call remove_quotes,$(PTXCONF_SAMBA_BBINIT_LINK)),)
+ @$(call install_link, samba, \
+ ../init.d/samba, \
+ /etc/rc.d/$(PTXCONF_SAMBA_BBINIT_LINK))
+endif
endif
endif