summaryrefslogtreecommitdiff
path: root/templates/service/telnet/node.def
blob: 959a04211cf94ad2cfc4c8ad2fe419252df0e078 (plain)
1
2
3
4
5
6
7
8
priority: 916
help: Enable/disable Network Virtual Terminal Protocol (TELNET) protocol
create: 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