7 lines
112 B
Bash
Executable File
7 lines
112 B
Bash
Executable File
#!/bin/sh
|
|
|
|
status=$(curl -s 192.168.1.201/status.php)
|
|
|
|
echo ""
|
|
[ "$status" = 1 ] && echo "" || echo ""
|