code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# Call fowsr and upload data to Wunderground
wsr="/usr/bin/fowsr -w"
LOG=/var/wunderground.log
ID=$1
PASSWORD=$2
WGET=http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
... | Shell |
#!/bin/sh
# Call fowsr and upload data to PWS Weather
wsr="/usr/bin/fowsr -s"
LOG=/var/pwsweather.log
ID=$1
PASSWORD=$2
WGET=http://www.pwsweather.com/pwsupdate/pwsupdate.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
while read line
do
WGET2="$... | Shell |
#!/bin/sh
# Call fowsr and upload data to Wunderground
wsr="/usr/bin/fowsr -w"
LOG=/var/wunderground.log
ID=$1
PASSWORD=$2
WGET=http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
... | Shell |
#!/bin/sh
# Call fowsr and upload data to PWS Weather
wsr="/usr/bin/fowsr -s"
LOG=/var/pwsweather.log
ID=$1
PASSWORD=$2
WGET=http://www.pwsweather.com/pwsupdate/pwsupdate.php
WGET="$WGET?action=updateraw&ID=$ID&PASSWORD=$PASSWORD&softwaretype=fowsr&"
rm -f $LOG
$wsr
while read line
do
WGET2="$... | Shell |
#!/bin/sh
# Call fowsr and upload data to pywws
wsr="/usr/bin/fowsr -p"
LOG=/var/pywws.log
UID=$1
PWD=$2
server=www.pywws.com
WPUT="$LOG ftp://$UID:$PWD@$server"
rm -f $LOG
$wsr
wput $WPUT
| Shell |
#!/bin/sh
# Call fowsr and upload data to pywws
wsr="/usr/bin/fowsr -p"
LOG=/var/pywws.log
UID=$1
PWD=$2
server=www.pywws.com
WPUT="$LOG ftp://$UID:$PWD@$server"
rm -f $LOG
$wsr
wput $WPUT
| Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
echo "If battery or powered = 0 - is Good state, 1 >... neede chande battery..."
echo ""
echo "Main station:"
sqlite3 -line ${WDB} "select battery,powered from CLOCK ORDER BY tdate DESC LIMIT 1"
for i in ${SENS}... | Shell |
#!/bin/sh
rrdtool create /var/weather/TEMP_0.rrd --start 1127253600 DS:Temp:GAUGE:600:-50:150 DS:DewPoint:GAUGE:600:-50:150 DS:Humidity:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 R... | Shell |
#!/bin/sh
rrdtool create /var/weather/TEMP_0.rrd --start 1127253600 DS:Temp:GAUGE:600:-50:150 DS:DewPoint:GAUGE:600:-50:150 DS:Humidity:GAUGE:600:0:100 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 R... | Shell |
#!/bin/sh
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
for i in `find /var/weather/ -name "*.rrd"`
do
rrdtool fetch /var/weather/${i}.rrd AVERAGE start $START end $END
done
| Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select temp,humidity from TEMP where sensor = ${i} ORDER BY tdate DESC LIMIT 1"
done
echo ""
echo "Pressure sensor:"
sqlite3 -li... | Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Please, enter name of .rrd file, no file extension!"
fi
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
rrdtool fetch /var/weather/$1.rrd AVERAGE start $START end $END
| Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
echo "If battery or powered = 0 - is Good state, 1 >... neede chande battery..."
echo ""
echo "Main station:"
sqlite3 -line ${WDB} "select battery,powered from CLOCK ORDER BY tdate DESC LIMIT 1"
for i in ${SENS}... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select MAX(temp), MIN(temp), AVG(temp), MAX(humidity), MIN(humidity),AVG(humidity) from TEMP where sensor = ${i}"
echo "Current:"... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select MAX(temp), MIN(temp), AVG(temp), MAX(humidity), MIN(humidity),AVG(humidity) from TEMP where sensor = ${i}"
echo "Current:"... | Shell |
#!/bin/sh
WDB="/var/weather/weather.db"
SENS=`sqlite3 ${WDB} "select DISTINCT(sensor) from TEMP"`
echo ""
for i in ${SENS}
do
echo ""
echo "Temperature sensor: #${i}"
sqlite3 -line ${WDB} "select temp,humidity from TEMP where sensor = ${i} ORDER BY tdate DESC LIMIT 1"
done
echo ""
echo "Pressure sensor:"
sqlite3 -li... | Shell |
#!/bin/sh
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
for i in `find /var/weather/ -name "*.rrd"`
do
rrdtool fetch /var/weather/${i}.rrd AVERAGE start $START end $END
done
| Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Please, enter name of .rrd file, no file extension!"
fi
END=`date +%s`
START=`echo $END-3600 | bc` # over the hour
rrdtool fetch /var/weather/$1.rrd AVERAGE start $START end $END
| Shell |
#!/bin/sh
# Put from ftp to router
#
exit
SRV="192.168.220.100"
UN="root"
PW="den68"
DIR1="/usr/bin"
DIR2="/usr/lib/wmr"
DIR3="/weather"
ftp -d -n $SRV <<End-Of-Session
user $UN $PW
binary
cd $DIR1
put wmrd
chmod 777 wmrd
put ../shm shm
chmod 777 shm
mkdir $DIR2
cd $DIR2
put libwmr-alarm.so
put libwmr-file.so
put li... | Shell |
#! /bin/bash
#
# chkconfig: 2345 9 91
# description: start and stop WMR - Weather Logger for (c) Oregon Scientific USB protocol
# support all USB oregon device (WMR100/200/WMRS200/I300/I600/RMS600 ..)
#
WMRBIN="/usr/bin/wmrd"
WMRCNF="/etc/wmr/wmr.conf"
WMRLCK="/var/lock/subsys/wmrd"
#
#
PATH=/bin:/sbin:/usr/bin:/usr... | Shell |
#! /bin/bash
#
# chkconfig: 2345 9 91
# description: start and stop WMR - Weather Logger for (c) Oregon Scientific USB protocol
# support all USB oregon device (WMR100/200/WMRS200/I300/I600/RMS600 ..)
#
WMRBIN="/usr/bin/wmrd"
WMRCNF="/etc/wmr/wmr.conf"
WMRLCK="/var/lock/subsys/wmrd"
#
#
PATH=/bin:/sbin:/usr/bin:/usr... | Shell |
#! /bin/bash
#
# chkconfig: 2345 9 91
# description: start and stop WMR - Weather Logger for (c) Oregon Scientific USB protocol
# support all USB oregon device (WMR100/200/WMRS200/I300/I600/RMS600 ..)
#
START=60
WMRBIN="/usr/bin/wmrd"
WMRCNF="/etc/wmr/wmr.conf"
WMRLCK="/var/lock/wmrd"
#
#
PATH=/bin:/sbin:/usr/bin:/... | Shell |
#! /bin/bash
#
# chkconfig: 2345 9 91
# description: start and stop WMR - Weather Logger for (c) Oregon Scientific USB protocol
# support all USB oregon device (WMR100/200/WMRS200/I300/I600/RMS600 ..)
#
START=60
WMRBIN="/usr/bin/wmrd"
WMRCNF="/etc/wmr/wmr.conf"
WMRLCK="/var/lock/wmrd"
#
#
PATH=/bin:/sbin:/usr/bin:/... | Shell |
#!/bin/sh
# Create RRD Database for Weather TXT/SQL/RRD/SNMP Logger
wmrconf=${wmrconf:-/etc/wmr/wmr.conf}
if [ ! -f $wmrconf ]; then
echo "Error: '(" $wmrconf " not found)'"
exit 1
fi
RRDSAVEPATH=`cat $wmrconf | grep RRDSAVEPATH | awk '{ print $2 }'`
if [ ! -x "${... | Shell |
#!/bin/sh
# Create Database and table SQLITE3 for WMR Weather SQL Logger
wmrconf=${wmrconf:-/etc/wmr/wmr.conf}
if [ ! -f $wmrconf ]; then
echo "Error: '(" $wmrconf " not found)'"
exit 1
fi
SQLBASEPATH=`cat $wmrconf | grep SQLBASEPATH | awk '{ print $2 }'`
SQ... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_pressure - Plugin to monitor WMR Oregon weather pressure sensor
in main unit
wmr_pressure
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_water - Plugin to monitor WMR weather water temperature sensors THWR288
wmr_water
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /e... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_humidity
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_rain - Plugin to monitor WMR Oregon weather rain sensors
PCR800,RGR126 or other...
wmr_rain
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_water - Plugin to monitor WMR weather water temperature sensors THWR288
wmr_water
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /e... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_pressure - Plugin to monitor WMR Oregon weather pressure sensor
in main unit
wmr_pressure
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_uv - Plugin to monitor WMR weather UV sensors UVN800
wmr_uv
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/plugins/ dire... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp - Plugin to monitor WMR weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_temp
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAG... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_humidity
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_rain - Plugin to monitor WMR Oregon weather rain sensors
PCR800,RGR126 or other...
wmr_rain
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the p... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_humidity_X - Plugin to monitor WMR Oregon weather temperature / humidity
sensors THGN801, THGR810 or other. X - number of sensor.
wmr_humidity_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to u... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_wind - Plugin to monitor WMR weather wind sensors WGR800 or other...
wmr_wind
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_wind - Plugin to monitor WMR weather wind sensors WGR800 or other...
wmr_wind
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp - Plugin to monitor WMR weather temperature / humidity
sensors THGN801, THGR810 or other...
wmr_temp
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAG... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_temp_X - Plugin to monitor WMR weather temperature / humidity
sensors THGN801,THGR810 or other. X - number of sensor.
wmr_temp_X
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/w... | Shell |
#!/bin/sh
#
: << =cut
=head1 NAME
wmr_uv - Plugin to monitor WMR weather UV sensors UVN800
wmr_uv
=head1 CONFIGURATION
The following enviroment variables are used by this plugin:
wmrconf - full path to config file to use. (Default /etc/wmr/wmr.conf)
=head1 USAGE
Place the plugin in the /etc/munin/plugins/ dire... | Shell |
#!/bin/sh
if [ "$1" == "" ]
then
echo "Logrotate data file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Please, type: $0 -logrotate"
echo "or, insert cron job new line:"
echo " for every day:"... | Shell |
#!/bin/sh
#
# Script generate graphic image from wmr-oregon weather logger RRD datbase
# (c) 2012 Den68 <idg68@yandex.ru>
# Latest download URL: http://www.nkl.ru/support/wmr/
# Global download URL: http://code.google.com/p/wmr/
#
# Path to wmr.conf
wmrconf=${wmrconf:-/etc/wmr/wmr.conf}
if [ ! -f ${wmrconf} ... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] ;
then
echo "Alarm file for wmr-oregon weather logger"
echo "(c) 2012 Den68 <idg68@yandex.ru>"
echo "Global download URL: http://code.google.com/p/wmr/"
echo ""
echo "Use format:"
echo "(SENSOR TYPE) (NUM OF SENS... | Shell |
#!/bin/sh
# Send alarm sms you mobile phone from sms.ru
# Go http://sms.ru/?panel=support&subpanel=api , get you api-id
# and store to file `echo "<you api-id>" >/etc/wmr/api_id.sms.ru`
# Sample: echo "00000-0000-0000-000-000000" >/etc/wmr/api_id.sms.ru
#
# Store you phone numer to send sms in file /etc/wmr/phone.sms.... | Shell |
#!/bin/sh
# Create Database and table SQLITE3 for WMR Weather SQL Logger
wmrconf=${wmrconf:-/etc/wmr/wmr.conf}
if [ ! -f $wmrconf ]; then
echo "Error: '(" $wmrconf " not found)'"
exit 1
fi
SQLBASEPATH=`cat $wmrconf | grep SQLBASEPATH | awk '{ print $2 }'`
SQ... | Shell |
#!/bin/sh
# Create RRD Database for Weather TXT/SQL/RRD/SNMP Logger
wmrconf=${wmrconf:-/etc/wmr/wmr.conf}
if [ ! -f $wmrconf ]; then
echo "Error: '(" $wmrconf " not found)'"
exit 1
fi
RRDSAVEPATH=`cat $wmrconf | grep RRDSAVEPATH | awk '{ print $2 }'`
if [ ! -x "${... | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
#
# Power ON port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 1
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
if [ ! -f /tmp/WMR_WARNING_$1_$2.lock ] ;
then
echo "Warning! Sensor type: $1 num: $2 battery low (value: $3)"
#
# send sms:
# /usr/bin/wmr_sendms_sms.ru.sh "Warning! Sensor type: $1 num: $2 battery low (value: $3)"
#
# or send e-mail from sendmail program:
# echo "Warning! Sensor type: $1 num: $2 batt... | Shell |
#!/bin/sh
echo $1
#
# Power ON port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 1
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
if [ ! -f /tmp/WMR_WARNING_$1_$2.lock ] ;
then
echo "Warning! Sensor type: $1 num: $2 battery low (value: $3)"
#
# send sms:
# /usr/bin/wmr_sendms_sms.ru.sh "Warning! Sensor type: $1 num: $2 battery low (value: $3)"
#
# or send e-mail from sendmail program:
# echo "Warning! Sensor type: $1 num: $2 batt... | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
#
# Power OFF port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 0
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
echo $1
#
# Power OFF port 2 triger C2000-CP1
# /usr/bin/php5 /etc/wmr/C2000-CP1.php -p 2 -s 0
# /usr/bin/wmr_sendms_sms.ru.sh "Alarm! $1 ... another info ..."
# see doc/C2000CP1controlling4LineRU.pdf
# | Shell |
#!/bin/sh
echo $1
| Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
#!/bin/sh
if [ "$1" == "" ] || [ "$2" == "" ] || [ "$3" == "" ] || [ "$4" == "" ] || [ "$5" == "" ] || [ "$6" == "" ] || [ "$7" == "" ] || [ "$8" == "" ] ;
then
echo "Don't run is manual..."
echo "Exec /usr/bin/wmr_graph_rrd.sh"
exit
fi
WATERMARKOREGON="WMR Oregon Scientific USB weather data logger (c)created htt... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.