1626,8 → 1626,11 |
# change the google safesearch ("safe=strict" instead of "safe=vss") |
$SED "s?safe=vss?safe=strict?g" $DIR_DG/lists/urlregexplist |
# adapt the Toulouse BL to ALCASAR architecture |
if [ "$mode" != "update" ]; then |
$DIR_DEST_BIN/alcasar-bl.sh --adapt |
# enable the default categories |
$DIR_DEST_BIN/alcasar-bl.sh --cat_choice |
# creation of the custom BL and WL categorie named "ossi" (for domain names & ip only) |
if [ "$mode" != "update" ]; then |
mkdir $DIR_DG/lists/blacklists/ossi-bl $DIR_DG/lists/blacklists/ossi-wl |
touch $DIR_DG/lists/blacklists/ossi-bl/domain $DIR_DG/lists/blacklists/ossi-wl/domain |
# add custom ALCASAR BL files (TOR) |
1635,9 → 1638,6 |
mv $DIR_CONF/ossi-tor_node $DIR_DG/lists/blacklists/ossi-tor_node/domain |
chown -R dansguardian:apache $DIR_DG $DIR_DEST_SHARE |
chmod -R g+rw $DIR_DG $DIR_DEST_SHARE |
$DIR_DEST_BIN/alcasar-bl.sh --adapt |
# enable the default categories |
$DIR_DEST_BIN/alcasar-bl.sh --cat_choice |
fi |
} |
|