moth/pollster/in.heartbeatd

10 lines
146 B
Plaintext
Raw Normal View History

2009-10-07 17:32:36 -06:00
#! /bin/sh
2009-10-08 16:42:26 -06:00
ip=$(echo $UDPREMOTEADDR | cut -d: -f1)
case "$ip" in
10.0.0.*)
touch /var/lib/pollster/$ip
2009-10-07 17:32:36 -06:00
;;
esac
2009-10-08 16:42:26 -06:00
echo 'Hello.'