7 lines
112 B
Plaintext
Raw Normal View History

2020-05-09 21:26:23 +02:00
#!/bin/sh
status=$(curl -s 192.168.1.201/status.php)
echo ""
[ "$status" = 1 ] && echo "" || echo ""