versione 0.2.3

This commit is contained in:
androtto
2019-09-21 23:00:50 +02:00
parent 0b34b7010f
commit 2add0c725f
13 changed files with 36 additions and 53 deletions

View File

@@ -8,7 +8,7 @@
#note:
#RAINSENSORQTY_MONPID="$TMP_PATH/rainsensorqty_monitor.pid"
#RAINSENSORQTY_MONPID="$TMPDIR/rainsensorqty_monitor.pid"
#
d() # short date & time
@@ -80,3 +80,11 @@ do
done
}
check_TMPDIR()
{
if [[ $(df | awk '$NF=="/tmp" {print $1}') != "tmpfs" ]] ; then
echo "WARNING: /tmp isn't a tmp file system"
echo -e "\tplease add to your /etc/fstab file:\n\ttmpfs /tmp tmpfs defaults,noatime,nosuid 0 0"
fi
}