diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2011-01-24 15:34:23 +1000 |
commit | 7afbca72c1dfaf273eb366b2b372855ac1505440 (patch) | |
tree | 30e5474906ec132b250edae9801c408cb3f8c913 /templates/show/configuration/commands | |
parent | 3c9d639f65240d1745b6186a16ce0f6eb918e65c (diff) | |
parent | 73dfd3113cfb1226366023ef61cae7c870b6159f (diff) | |
download | vyatta-op-mendocino.tar.gz vyatta-op-mendocino.zip |
Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-op into mendocinomendocino
Diffstat (limited to 'templates/show/configuration/commands')
-rw-r--r-- | templates/show/configuration/commands/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/show/configuration/commands/node.def b/templates/show/configuration/commands/node.def new file mode 100644 index 0000000..a2d55cf --- /dev/null +++ b/templates/show/configuration/commands/node.def @@ -0,0 +1,7 @@ +help: Show running configuration as set commands +run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; + then + ${vyatta_sbindir}/vyatta-config-gen-sets.pl + else + echo Must be an admin user to run this command. + fi |