diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-11-22 11:34:04 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-11-22 11:34:04 -0800 |
commit | 8e00bccdb5688298c1e005a0c41b002d15704f36 (patch) | |
tree | cf506bdd9b8693ffb5611dea40ac830c8dbd090b /templates/show/configuration/commands | |
parent | 470af351a2225e8eac03b27e95ac193846e8824d (diff) | |
download | vyatta-op-8e00bccdb5688298c1e005a0c41b002d15704f36.tar.gz vyatta-op-8e00bccdb5688298c1e005a0c41b002d15704f36.zip |
Fix 6353: ENH: Rename "show configuration cmds"
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 |