[mystrom] turning on/off can be quiet
This commit is contained in:
parent
d2383c666c
commit
5b93573edf
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ fi
|
||||||
while [ $# -ge 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
hostname=$1; shift
|
hostname=$1; shift
|
||||||
|
|
||||||
curl --location \
|
curl -s --location \
|
||||||
--request GET \
|
--request GET \
|
||||||
"http://${hostname}/relay?state=0"
|
"http://${hostname}/relay?state=0"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ fi
|
||||||
while [ $# -ge 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
hostname=$1; shift
|
hostname=$1; shift
|
||||||
|
|
||||||
curl --location \
|
curl -s --location \
|
||||||
--request GET \
|
--request GET \
|
||||||
"http://${hostname}/relay?state=1"
|
"http://${hostname}/relay?state=1"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue