diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-04 09:51:11 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-04 09:51:11 -0800 |
commit | 775eeefa537897170830edaf70aa42a50d9e1b6f (patch) | |
tree | 3012a981728dd233ddbcdbc3657a0094e7e6e8b5 | |
parent | ec0b5356f7398c0d472ffda26243778b2edcb740 (diff) | |
download | vyatta-cfg-quagga-775eeefa537897170830edaf70aa42a50d9e1b6f.tar.gz vyatta-cfg-quagga-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.def | 10 |
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 |