From 7c25c7600d56ab930a9a7a111bab53f98eabc9df Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 24 Mar 2008 15:42:47 +0000 Subject: * removed 'precedence'-attribute and made it part of the general plugin info - it makes no sense to have this configurable by the user git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1682 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'os-plugins/plugins/example/OpenSLX') diff --git a/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm b/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm index dad6756c..ae7bb4ef 100644 --- a/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm +++ b/os-plugins/plugins/example/OpenSLX/OSPlugin/example.pm @@ -45,7 +45,7 @@ sub getInfo description => unshiftHereDoc(<<' End-of-Here'), just an exemplary plugin that prints a smiley when the client boots End-of-Here - mustRunAfter => [], + precedence => 50, }; } @@ -69,17 +69,6 @@ sub getAttrInfo content_descr => '1 means active - 0 means inactive', default => '1', }, - # attribute 'precedence' is mandatory for all plugins - 'example::precedence' => { - applies_to_systems => 1, - applies_to_clients => 0, - description => unshiftHereDoc(<<' End-of-Here'), - the execution precedence of the 'example' plugin - End-of-Here - content_regex => qr{^\d\d$}, - content_descr => 'allowed range is from 01-99', - default => 50, - }, # plugin specific attributes start here ... 'example::preferred_side' => { -- cgit v1.2.3-55-g7522