Project

General

Profile

« Previous | Next » 

Revision 331166a8

Added by Pi Ba over 11 years ago

-renamed function to pkg_call_plugins
-added is_array()
-added function header text
-replaced fixed 'plugin_carp' by $plugin_type to allow for generic use

View differences:

etc/rc.carpbackup
68 68
$pluginparams['type'] = 'carp';
69 69
$pluginparams['event'] = 'rc.carpbackup';
70 70
$pluginparams['interface'] = $argv[1];
71
call_plugins('plugin_carp', $pluginparams);
72

  
71
pkg_call_plugins('plugin_carp', $pluginparams);
73 72

  
74 73
?>

Also available in: Unified diff