summaryrefslogtreecommitdiffstats
path: root/plugins/sample3Plugin/plugin
diff options
context:
space:
mode:
authorJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:11:43 +0100
committerJoel Andres Granados <jgranado@redhat.com>2007-11-22 15:11:43 +0100
commit9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211 (patch)
tree8ca389e60ff2d894bad023454430268ce259c376 /plugins/sample3Plugin/plugin
parent83d9690c02e9189ec8ceddc92b2c400f0b1521cb (diff)
downloadfirstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.tar.gz
firstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.tar.xz
firstaidkit-9a6c6d665c7d9c9da78ea5488bcd4b8b7f7df211.zip
Change all references from init to prepare.
Change all references from purge to clean. Log a warning when abstract functions are not used.
Diffstat (limited to 'plugins/sample3Plugin/plugin')
-rwxr-xr-xplugins/sample3Plugin/plugin8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sample3Plugin/plugin b/plugins/sample3Plugin/plugin
index 9cf7e03..c3099a5 100755
--- a/plugins/sample3Plugin/plugin
+++ b/plugins/sample3Plugin/plugin
@@ -21,14 +21,14 @@ else
fi
-if [ $TASK = "init" ]; then
- echo init true
+if [ $TASK = "prepare" ]; then
+ echo prepare true
fi
if [ $TASK = "diagnose" ]; then
echo diagnose false
fi
-if [ $TASK = "purge" ]; then
- echo purge true
+if [ $TASK = "clean" ]; then
+ echo clean true
fi
if [ $TASK = "fix" ]; then
echo fix true