13 lines
321 B
Bash
Executable file
13 lines
321 B
Bash
Executable file
#!/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
|