summaryrefslogtreecommitdiffstats
path: root/rules/busybox.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-04-22 09:48:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-04-22 09:48:17 +0200
commit36d717cb4857c4d300dd89eade22dd8095263a3c (patch)
treea755fe3518d63c8be2ed4c6d92d789749229618f /rules/busybox.make
parent195a264785f41a218a9267b0234edd5a1d944abc (diff)
downloadptxdist-36d717cb4857c4d300dd89eade22dd8095263a3c.tar.gz
ptxdist-36d717cb4857c4d300dd89eade22dd8095263a3c.tar.xz
busybox: add telnetd systemd service
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/busybox.make')
-rw-r--r--rules/busybox.make9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules/busybox.make b/rules/busybox.make
index cf123296f..9021a020c 100644
--- a/rules/busybox.make
+++ b/rules/busybox.make
@@ -172,6 +172,15 @@ endif
endif
endif # PTXCONF_INITMETHOD_BBINIT
+ifdef PTXCONF_BUSYBOX_TELNETD_SYSTEMD_UNIT
+ @$(call install_alternative, busybox, 0, 0, 0644, \
+ /lib/systemd/system/telnetd.socket)
+ @$(call install_alternative, busybox, 0, 0, 0644, \
+ /lib/systemd/system/telnetd@.service)
+ @$(call install_link, busybox, ../telnetd.socket, \
+ /lib/systemd/system/sockets.target.wants/telnetd.socket)
+endif
+
# #
# # config files
# #