From 7ddab704b12dc447a2d8e2acb9178a0d90f63b78 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Sat, 9 Dec 2017 15:28:24 +0100
Subject: T414: Remove 'telnet' service

Telnet remote logins have been deprecated for decades. As Debian
'jessie' busybox no longer has a telnetd applet, this service is no
longer available.
---
 templates/service/telnet/node.def | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 templates/service/telnet/node.def

(limited to 'templates/service/telnet/node.def')

diff --git a/templates/service/telnet/node.def b/templates/service/telnet/node.def
deleted file mode 100644
index e173d243..00000000
--- a/templates/service/telnet/node.def
+++ /dev/null
@@ -1,8 +0,0 @@
-priority: 500 # After syslog and logins
-help: Enable/disable Network Virtual Terminal Protocol (TELNET) protocol
-update: touch /tmp/vyatta-telnet.$PPID
-delete: /opt/vyatta/sbin/vyatta_update_telnet disable
-end: if [ -f /tmp/vyatta-telnet.$PPID ]; then
-          rm -f /tmp/vyatta-telnet.$PPID
-	  /opt/vyatta/sbin/vyatta_update_telnet enable $VAR(port/@) $VAR(listen-address/@)
-     fi
-- 
cgit v1.2.3

