Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1924 → Rev 1925

/alcasar.sh
1626,11 → 1626,8
# 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
# creation of the custom BL and WL categorie named "ossi" (for domain names & ip only)
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)
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)
1638,6 → 1635,9
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
}