summaryrefslogtreecommitdiff
path: root/templates/show/configuration/commands/node.def
blob: a2d55cfd99c513fa4f77dcf84221be3387d08239 (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
        ${vyatta_sbindir}/vyatta-config-gen-sets.pl
     else
        echo Must be an admin user to run this command.
     fi