From 775eeefa537897170830edaf70aa42a50d9e1b6f Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 4 Dec 2009 09:51:11 -0800 Subject: Change telnet allow-root to existance (instead of boolean) Also change config version for migration. --- templates/service/telnet/allow-root/node.def | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/service/telnet/allow-root/node.def b/templates/service/telnet/allow-root/node.def index 1065df48..01c8bd0f 100644 --- a/templates/service/telnet/allow-root/node.def +++ b/templates/service/telnet/allow-root/node.def @@ -1,7 +1,3 @@ -type: bool -default: false -help: Enable/disable root login -update: /opt/vyatta/sbin/vyatta_update_telnet allow-root $VAR(@) -comp_help: possible completions: - true Enable root login over telnet - false Disable root login over telnet +help: Enable root login over telnet +update: /opt/vyatta/sbin/vyatta_update_telnet allow-root true +delete:/opt/vyatta/sbin/vyatta_update_telnet allow-root false -- cgit v1.2.3