summaryrefslogtreecommitdiffstats
path: root/rules/utelnetd.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/utelnetd.make')
-rw-r--r--rules/utelnetd.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/rules/utelnetd.make b/rules/utelnetd.make
index 202ddff39..20ae3f0ca 100644
--- a/rules/utelnetd.make
+++ b/rules/utelnetd.make
@@ -110,6 +110,11 @@ ifneq ($(PTXCONF_ROOTFS_ETC_INITD_TELNETD_USER_FILE),"")
endif
endif
endif
+ifneq ($(PTXCONF_ROOTFS_ETC_INITD_TELNETD_LINK),"")
+ @$(call install_copy, 0, 0, 0755, /etc/rc.d)
+ @$(call install_link, ../init.d/telnetd, /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_TELNETD_LINK))
+endif
+
@$(call install_copy, 0, 0, 0755, $(UTELNETD_DIR)/utelnetd, /sbin/utelnetd)
@$(call install_finish)