/scripts/alcasar-bl.sh |
---|
325,6 → 325,7 |
# adapt the file to the unbound syntax and enable it if needed |
# for the WL |
$SED "s?.*?local-zone: & transparent?g" $FILE_tmp |
$SED "p; s? transparent? ipset?g" $FILE_tmp # duplicate lines to enable ipset module |
mv $FILE_tmp $DIR_DNS_WL/$ossi_categorie.conf |
mv $FILE_ip_tmp $DIR_IP_WL/$ossi_categorie |
enabled=`grep ^$ossi_categorie$ $WL_CATEGORIES_ENABLED | wc -l` |