Aggiunto implementazione driver rainsensorqty railizzato da @androtto
This commit is contained in:
23
drv/rainsensorqty/test_rainsensorqty_CHECK.sh
Executable file
23
drv/rainsensorqty/test_rainsensorqty_CHECK.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR_SCRIPT=/home/pi/piGarden
|
||||
NAME_SCRIPT="not_needed"
|
||||
CONFIG_ETC="/etc/piGarden.conf"
|
||||
TMP_PATH="/run/shm"
|
||||
if [ ! -d "$TMP_PATH" ]; then
|
||||
TMP_PATH="/tmp"
|
||||
fi
|
||||
|
||||
LOG_OUTPUT_DRV_FILE="$DIR_SCRIPT/log/LOG_OUTPUT_DRV_FILE"
|
||||
|
||||
|
||||
|
||||
. $CONFIG_ETC
|
||||
|
||||
. ./common.include.sh
|
||||
. ./config.include.sh
|
||||
. ./init.include.sh
|
||||
. ./rainsensor.include.sh
|
||||
|
||||
drv_rainsensorqty_rain_sensor_get
|
||||
echo "drv_rainsensorqty_rain_sensor_get $?"
|
||||
|
||||
Reference in New Issue
Block a user