summaryrefslogtreecommitdiff
path: root/src/pmdas/dmcache/Remove
diff options
context:
space:
mode:
Diffstat (limited to 'src/pmdas/dmcache/Remove')
-rw-r--r--src/pmdas/dmcache/Remove25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pmdas/dmcache/Remove b/src/pmdas/dmcache/Remove
new file mode 100644
index 0000000..6586d55
--- /dev/null
+++ b/src/pmdas/dmcache/Remove
@@ -0,0 +1,25 @@
+#! /bin/sh
+#
+# Copyright (c) 2014 Red Hat.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# Remove the Device Mapper Cache PMDA
+#
+
+. $PCP_DIR/etc/pcp.env
+. $PCP_SHARE_DIR/lib/pmdaproc.sh
+
+iam=dmcache
+
+pmdaSetup
+pmdaRemove
+exit 0