summaryrefslogtreecommitdiff
path: root/community/hdapsd/hdapsd.wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'community/hdapsd/hdapsd.wrapper')
-rw-r--r--community/hdapsd/hdapsd.wrapper20
1 files changed, 0 insertions, 20 deletions
diff --git a/community/hdapsd/hdapsd.wrapper b/community/hdapsd/hdapsd.wrapper
deleted file mode 100644
index d74fd272d..000000000
--- a/community/hdapsd/hdapsd.wrapper
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/hdapsd ] && source /etc/conf.d/hdapsd
-
-OPTS="-bp"
-
-if [ -z "${DEVICE}" ]; then
- OPTS="${OPTS} -d sda"
-else
- for i in ${DEVICE[@]}; do
- OPTS="${OPTS} -d ${i}"
- done
-fi
-
-[ ! -z "${SENSITIVITY}" ] && OPTS="${OPTS} -s ${SENSITIVITY}"
-[ "${ADAPTIVE}" == "yes" ] && OPTS="${OPTS} -a"
-[ "${SYSLOG}" == "yes" ] && OPTS="${OPTS} -l"
-[ "${FORCE}" == "yes" ] && OPTS="${OPTS} -f"
-
-/usr/sbin/hdapsd ${OPTS}