diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 14:30:21 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-26 14:30:21 -0800 |
commit | bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124 (patch) | |
tree | 54c23d6ff61e69d094454cfd4e7d1f58bccbc0c7 /scripts | |
parent | 56eb4982e61a5385431e1eb1da8d9f072f4c98e0 (diff) | |
download | vyatta-cfg-quagga-bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124.tar.gz vyatta-cfg-quagga-bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124.zip |
Add more options to show-protocols
Useful hooks for changed, modified, exists, etc...
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-show-protocols | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/vyatta-show-protocols b/scripts/vyatta-show-protocols index 4f3e0a92..0d349b45 100755 --- a/scripts/vyatta-show-protocols +++ b/scripts/vyatta-show-protocols @@ -25,10 +25,12 @@ use warnings; # Map from command line to config->XXX() function my %actions = ( - 'configured' => 'exists', + 'configured' => 'existsOrig', + 'exists' => 'exists', 'added' => 'isAdded', 'changed' => 'isChanged', 'deleted' => 'isDeleted', + 'modified' => 'isChangedOrDeleted', ); my %daemons = ( |