Fixing redefinition of PATH in plugins
authorBrian Flowers <git-admn@bsflowers.net>
Sun, 18 Sep 2016 22:53:59 +0000 (18:53 -0400)
committerBrian Flowers <git-admn@bsflowers.net>
Sun, 18 Sep 2016 22:53:59 +0000 (18:53 -0400)
bdsm.d/df.generic
bdsm.d/sensors.generic

index 0b499af..c28d6bc 100755 (executable)
@@ -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
index 7c943b7..b2059d1 100755 (executable)
@@ -32,8 +32,6 @@ error()
 SCRIPT=$0
 HOSTNAME=$2
 DELAY=$3
-LABEL=$4
-PATH=$5
 OUTPATH=/home/bdsm/out.fifo
 
 # MAIN FUNCTIONS