From: Brian Flowers Date: Wed, 21 Sep 2016 17:54:46 +0000 (-0400) Subject: Fixing timestamp issues in df, sensors plugins X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=4739b5968785e621df382a09bbd1e5d7252a3710;p=bdsm.git Fixing timestamp issues in df, sensors plugins --- diff --git a/bdsm.d/df.generic b/bdsm.d/df.generic index ea3d8fc..c68abd9 100755 --- a/bdsm.d/df.generic +++ b/bdsm.d/df.generic @@ -67,8 +67,8 @@ start() ssh -q $HOSTNAME <> $OUTPATH & diff --git a/bdsm.d/sensors.generic b/bdsm.d/sensors.generic index d39fa9b..85e7e4e 100755 --- a/bdsm.d/sensors.generic +++ b/bdsm.d/sensors.generic @@ -63,7 +63,7 @@ start() ssh -q $HOSTNAME < /home/bdsm/.processor.pid } diff --git a/bdsm.sh b/bdsm.sh index 85f4309..126660e 100755 --- a/bdsm.sh +++ b/bdsm.sh @@ -47,8 +47,8 @@ failure() # VARIABLES ############################################################################### -if [ -f "/home/bdsm/bdsm.d/$1.processor" ]; then - processor="${1}" +if [ -f "/home/bdsm/bdsm.d/$2.processor" ]; then + processor="${2}" else processor="" fi