#!/bin/sh -e
# Reload squid configuration when NetworkManager connects

if [ -z "$1" ]; then
    echo "$0: called with no interface" 1>&2
    exit 1;
fi

if [ "$2" = "up" ] ; then
    /etc/init.d/squid reload
fi
