From 7e7561a9640d0e1f54288a391239feb6bd691b56 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 May 2013 06:21:03 -0700 Subject: Fri May 31 06:21:01 PDT 2013 --- community/hdapsd/hdapsd.wrapper | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 community/hdapsd/hdapsd.wrapper (limited to 'community/hdapsd/hdapsd.wrapper') 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} -- cgit v1.2.3-54-g00ecf