diff options
author | Daniil Baturin <daniil.baturin@vyatta.com> | 2012-02-18 04:41:59 +0700 |
---|---|---|
committer | Daniil Baturin <daniil.baturin@vyatta.com> | 2012-02-18 04:41:59 +0700 |
commit | 6296463806ee4c65291ac0e3bb6dec6dfd3a8281 (patch) | |
tree | be26adee4a1ab3173d2170e24a5ca8b1f4f8d79c | |
parent | 87065a1b89c3a69eab968528bb39448841057661 (diff) | |
download | vyatta-cfg-quagga-6296463806ee4c65291ac0e3bb6dec6dfd3a8281.tar.gz vyatta-cfg-quagga-6296463806ee4c65291ac0e3bb6dec6dfd3a8281.zip |
Bug #7787: Allow using custom command line arguments in transition
scripts.
-rwxr-xr-x | scripts/keepalived/vyatta-keepalived.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/keepalived/vyatta-keepalived.pl b/scripts/keepalived/vyatta-keepalived.pl index 3911588a..d0eb11ca 100755 --- a/scripts/keepalived/vyatta-keepalived.pl +++ b/scripts/keepalived/vyatta-keepalived.pl @@ -302,11 +302,11 @@ sub keepalived_get_values { } $output .= "\t\}\n"; $output .= "\tnotify_master \"$state_transition_script master "; - $output .= "$intf $group $transition_intf $run_master_script @vips\" \n"; + $output .= "$intf $group $transition_intf \'$run_master_script\' @vips\" \n"; $output .= "\tnotify_backup \"$state_transition_script backup "; - $output .= "$intf $group $transition_intf $run_backup_script @vips\" \n"; + $output .= "$intf $group $transition_intf \'$run_backup_script\' @vips\" \n"; $output .= "\tnotify_fault \"$state_transition_script fault "; - $output .= "$intf $group $transition_intf $run_fault_script @vips\" \n"; + $output .= "$intf $group $transition_intf \'$run_fault_script\' @vips\" \n"; $output .= "\}\n\n"; } |