Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2192 → Rev 2193

/scripts/alcasar-bl.sh
73,8 → 73,10
done
sort +0.0 -0.2 $BL_CATEGORIES -o $FILE_tmp
mv $FILE_tmp $BL_CATEGORIES
chown root:apache $BL_CATEGORIES
chmod 660 $BL_CATEGORIES
sort +0.0 -0.2 $BL_CATEGORIES_ENABLED -o $FILE_tmp
mv $FILE_tmp $BL_CATEGORIES_ENABLED
chown root:apache $BL_CATEGORIES $BL_CATEGORIES_ENABLED
chmod 660 $BL_CATEGORIES $BL_CATEGORIES_ENABLED
 
# process the file $WL_CATEGORIES with the choice of categories
for ENABLE_CATEGORIE in `cat $WL_CATEGORIES_ENABLED`
85,8 → 87,10
done
sort +0.0 -0.2 $WL_CATEGORIES -o $FILE_tmp
mv $FILE_tmp $WL_CATEGORIES
chown root:apache $WL_CATEGORIES
chmod 660 $WL_CATEGORIES
sort +0.0 -0.2 $WL_CATEGORIES_ENABLED -o $FILE_tmp
mv $FILE_tmp $WL_CATEGORIES_ENABLED
chown root:apache $WL_CATEGORIES $WL_CATEGORIES_ENABLED
chmod 660 $WL_CATEGORIES $WL_CATEGORIES_ENABLED
}
 
# cleaning file and split it ("domains" in $FILE_tmp & "IP" in $FILE_ip_tmp)