/alcasar.sh |
---|
209,7 → 209,7 |
rm -f /var/tmp/alcasar-conf* |
else |
# Create the archive of conf files |
$DIR_SCRIPTS/alcasar-conf.sh --create |
$DIR_DEST_BIN/alcasar-conf.sh --create |
# avoid lack of local DNS resolution when unbound is updated (alcasar <= V5.3) |
local_unbound_unit=`ls /etc/systemd/system/unbound* 2>/dev/null | wc -w` |
if [ $local_unbound_unit -ne 4 ]; then |
2430,7 → 2430,7 |
done |
if [ "$response" = "o" ] || [ "$response" = "O" ] || [ "$response" = "Y" ] || [ "$response" = "y" ] |
then |
$DIR_SCRIPTS/alcasar-conf.sh --create |
$DIR_DEST_BIN/alcasar-conf.sh --create |
else |
rm -f /var/tmp/alcasar-conf* |
fi |
/scripts/alcasar-conf.sh |
---|
179,7 → 179,7 |
# Retrieve BL/WL custom files |
cp -f $DIR_UPDATE/custom_bl/exceptioniplist $DIR_E2G/common/ |
cp -f $DIR_UPDATE/custom_bl/exceptionsitelist $DIR_E2G/group1/ |
cp -f $DIR_UPDATE/custom_bl/urlregexplist $DIR_E2G/ |
cp -f $DIR_UPDATE/custom_bl/urlregexplist $DIR_E2G/group1/ |
cp -f $DIR_UPDATE/custom_bl/bannedurllist $DIR_E2G/group1/ |
cp -rf $DIR_UPDATE/custom_bl/ossi-* $DIR_BLACKLIST/ 2>/dev/null |
chown -R e2guardian:apache $DIR_E2G |
192,7 → 192,7 |
# admin profile update (admin + manager + backup) |
$DIR_BIN/alcasar-profil.sh --list |
# Apply changes between versions |
## V5.5 --> V6.0 |
## V3.5 --> V3.6 |
## remove dnsmasq service |
[ -e /etc/dnsmasq-whitelist.conf ] && rm -f /etc/dnsmasq* |
[ -e /etc/systemd/system/dnsmasq-whitelist.service ] && rm -f /etc/systemd/system/dnsmasq* && urpme dnsmasq |
/scripts/alcasar-rpm.sh |
---|
136,6 → 136,7 |
echo "Updated RPM download. Please wait ..." |
echo "You should now take a coffe (or a good beer) ;-)" |
fi |
urpme freeradius-ldap # Avoid an update error due to the file "rlm.ldap.so" embedded in "lib64radius1" & "freeradius-ldap" RPMs. This issue has been reported to Mga bugzilla (awaiting a fix...) |
urpmi --auto --auto-update --quiet --test --retry 2 |
if [ "$?" != "0" ] |
then |