From f3d8a923cbf42966e4de11d0978f2c9518b90cb3 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 16 Nov 2010 15:56:24 -0800 Subject: Add ability to configure telnet listen-addres Bug 4452 Allow configuring a telnet listen-address either IPv4 or IPv6 (like SSH). Unlike SSH, telnet only supports a single listen-address --- scripts/system/vyatta_update_telnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/system/vyatta_update_telnet') diff --git a/scripts/system/vyatta_update_telnet b/scripts/system/vyatta_update_telnet index 07d6946f..f50eef79 100755 --- a/scripts/system/vyatta_update_telnet +++ b/scripts/system/vyatta_update_telnet @@ -69,7 +69,7 @@ case "$1" in then echo "Missing port number"; usage fi - exec sudo /opt/vyatta/sbin/telnetd.init restart "$2" + exec sudo /opt/vyatta/sbin/telnetd.init restart $2 $3 ;; disable) -- cgit v1.2.3