From: Brian Flowers Date: Sun, 18 Sep 2016 22:53:59 +0000 (-0400) Subject: Fixing redefinition of PATH in plugins X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=0be1ca6061bb8a5f3baeadd78506901c79ea4e51;p=bdsm.git Fixing redefinition of PATH in plugins --- 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