#!/bin/sh set -e echo "Content-type:text/html "; if [ "$REQUEST_METHOD" != "POST" ]; then echo "Wrong request method" exit 0 fi if grep -q "$REMOTE_ADDR" /tmp/turris-lcd-did; then echo " Turris Omnia Feed

We already have post from you.

" exit 0 else echo "$REMOTE_ADDR" >> /tmp/turris-lcd-did fi MESSAGE="$(cat | sed 's/message=//;s/+/ /g')" echo " Turris Omnia Feed

Thank you for your message

$(cat< " cat >/tmp/turris-lcd <