versione 0.2.3
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user