doorbuzz/peoplecounter.sh

6 lines
97 B
Bash
Raw Permalink Normal View History

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