blob: 4c8c28e5a1197626f7a3d5d9c8b4a4788f5ef4ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/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
|