14 lines
321 B
Bash
14 lines
321 B
Bash
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
# ver.20091116-01
|
||
|
|
|
||
|
|
DBASEDIR="/var/db/squidGuard";
|
||
|
|
AUTH="${DBASEDIR}/liste_locali_autorizzati/domains";
|
||
|
|
BLOC="${DBASEDIR}/liste_locali_bloccati/domains";
|
||
|
|
|
||
|
|
SGUARD="/usr/local/bin/squidGuard -C "
|
||
|
|
|
||
|
|
/usr/local/bin/squidGuard -C ${AUTH}
|
||
|
|
/usr/local/bin/squidGuard -C ${BLOC}
|
||
|
|
/usr/local/sbin/squid -k reconfigure
|