summaryrefslogtreecommitdiff
path: root/templates/show/configuration/commands/node.def
blob: f2e047ed8ebd1ccfe7eb2445e7db1d6565c48765 (plain)
1
2
3
4
5
6
7
help: Show running configuration as set commands
run: if [ "$VYATTA_USER_LEVEL_DIR" == "/opt/vyatta/etc/shell/level/admin" ]; 
     then
        cli-shell-api showCfg --show-active-only | vyos-config-to-commands
     else
        echo Must be an admin user to run this command.
     fi