From 0be1ca6061bb8a5f3baeadd78506901c79ea4e51 Mon Sep 17 00:00:00 2001 From: Brian Flowers Date: Sun, 18 Sep 2016 18:53:59 -0400 Subject: [PATCH] Fixing redefinition of PATH in plugins --- bdsm.d/df.generic | 5 ++--- bdsm.d/sensors.generic | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bdsm.d/df.generic b/bdsm.d/df.generic index 0b499af..c28d6bc 100755 --- a/bdsm.d/df.generic +++ b/bdsm.d/df.generic @@ -33,7 +33,7 @@ SCRIPT=$0 HOSTNAME=$2 DELAY=$3 LABEL=$4 -PATH=$5 +DRIVE=$5 OUTPATH=/home/bdsm/out.fifo # MAIN FUNCTIONS @@ -135,8 +135,7 @@ if [ ! -f /home/bdsm/.bdsm.conf.tmp ]; then fi # Get a list of configured hosts -hosts=($(cat /home/bdsm/.bdsm.conf.tmp | cut -d'{' -f1)) - +C if [ -z $1 ]; then help diff --git a/bdsm.d/sensors.generic b/bdsm.d/sensors.generic index 7c943b7..b2059d1 100755 --- a/bdsm.d/sensors.generic +++ b/bdsm.d/sensors.generic @@ -32,8 +32,6 @@ error() SCRIPT=$0 HOSTNAME=$2 DELAY=$3 -LABEL=$4 -PATH=$5 OUTPATH=/home/bdsm/out.fifo # MAIN FUNCTIONS -- 1.8.3.1