From bb112bcc0d1dc16afeb999c3c56ddf7fc30cd124 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 26 Feb 2009 14:30:21 -0800 Subject: Add more options to show-protocols Useful hooks for changed, modified, exists, etc... --- scripts/vyatta-show-protocols | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = ( -- cgit v1.2.3