summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 09:51:11 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 09:51:11 -0800
commit775eeefa537897170830edaf70aa42a50d9e1b6f (patch)
tree3012a981728dd233ddbcdbc3657a0094e7e6e8b5
parentec0b5356f7398c0d472ffda26243778b2edcb740 (diff)
downloadvyatta-cfg-system-775eeefa537897170830edaf70aa42a50d9e1b6f.tar.gz
vyatta-cfg-system-775eeefa537897170830edaf70aa42a50d9e1b6f.zip
Change telnet allow-root to existance (instead of boolean)
Also change config version for migration.
-rw-r--r--cfg-version/system@2 (renamed from cfg-version/system@1)0
-rw-r--r--templates/service/telnet/allow-root/node.def10
2 files changed, 3 insertions, 7 deletions
diff --git a/cfg-version/system@1 b/cfg-version/system@2
index e69de29b..e69de29b 100644
--- a/cfg-version/system@1
+++ b/cfg-version/system@2
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