fluxplug: sanitize the way path are obtained

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
2019-03-18 15:56:01 +02:00
parent 236f25659c
commit 0d4f034146
7 changed files with 32 additions and 17 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ CHRONY="/usr/bin/chronyc -nc tracking"
z=$(basename $0)
IAM="${z%.*}"
tmpfile="$HOME"/tmp/"$IAM"
datafile="$HOME"/data/"$IAM"
tmpfile="$FLUXPLUGHOME"/tmp/"$IAM"
datafile="$FLUXPLUGHOME"/data/"$IAM"
MAXLINES=10