#!/bin/sh
if [ ! -r /usr/local/etc/openfwtk.conf ]; then
    echo "Error: /usr/local/etc/openfwtk.conf file is not exist or access to it is denied" 1>&2
    exit 1
fi
. /usr/local/etc/openfwtk.conf
if [ "$OFWTKPATH" = "" ]; then
    echo "Error: OFWTKPATH is empty" 1>&2
    exit 1
fi

kill -HUP `cat /var/run/openfwtk/squid-gw.pid`
