moth/pollster/in.heartbeatd

10 lines
146 B
Bash
Executable File

#! /bin/sh
ip=$(echo $UDPREMOTEADDR | cut -d: -f1)
case "$ip" in
10.0.0.*)
touch /var/lib/pollster/$ip
;;
esac
echo 'Hello.'