From 6cc51ff0f5c4dda26fc196d0e8db35c525b79844 Mon Sep 17 00:00:00 2001 From: Joel Andres Granados Date: Mon, 25 Feb 2008 13:46:06 +0100 Subject: Make room in the plugins directory for real plugins. Move the examples to their own directory. --- plugins/sample3Plugin/plugin | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100755 plugins/sample3Plugin/plugin (limited to 'plugins/sample3Plugin/plugin') diff --git a/plugins/sample3Plugin/plugin b/plugins/sample3Plugin/plugin deleted file mode 100755 index c3099a5..0000000 --- a/plugins/sample3Plugin/plugin +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -# Since this is just an example this will only have default tasks. -TASK="" - -use() -{ - echo You are using it wrong. -} - -if [ $1 ] ; then - if [ $2 ] ;then - TASK=$2 - else - use - exit 1 - fi -else - use - exit 1 -fi - - -if [ $TASK = "prepare" ]; then - echo prepare true -fi -if [ $TASK = "diagnose" ]; then - echo diagnose false -fi -if [ $TASK = "clean" ]; then - echo clean true -fi -if [ $TASK = "fix" ]; then - echo fix true -fi -if [ $TASK = "backup" ]; then - echo backup true -fi -if [ $TASK = "restore" ]; then - echo restore true -fi - -- cgit