From 8e00bccdb5688298c1e005a0c41b002d15704f36 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 22 Nov 2010 11:34:04 -0800 Subject: Fix 6353: ENH: Rename "show configuration cmds" --- templates/show/configuration/commands/node.def | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/show/configuration/commands/node.def (limited to 'templates/show/configuration/commands') 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 -- cgit v1.2.3