doorbuzz/peoplecounter.sh

6 lines
97 B
Bash
Executable File

#!/bin/bash
wget -qO - http://10.2.113.6/output.cgi |
sed 's/.*Occupancy://'|
awk '{print $2}'