#!/bin/sh /usr/pkg/sbin/nc 127.0.0.1 64777 > /var/cache/svgmap/data.new if cmp /var/cache/svgmap/data.new \ /var/cache/svgmap/data >/dev/null 2>&1;then cat /var/cache/svgmap/output else cp /var/cache/svgmap/data.new /var/cache/svgmap/data cat /var/cache/svgmap/data \ | /var/www/libexec/svgmap/generate.sh \ | tee /var/cache/svgmap/output fi