Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2174 → Rev 2175

/web/acc/manager/auth_exceptions.php
88,7 → 88,9
$pointeur=fopen(DOMAIN_ALLOWED_LIST,"a");
fwrite ($pointeur, $line);
fclose ($pointeur);
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/local/bin/alcasar-file-clean.sh"); # Clean & sort conf files. Add uamallowed domains to the dns-blackhole conf
exec ("sudo /usr/bin/systemctl restart dnsmasq-blackhole");
sleep 1 # be sure that dnsmasq-blackhole is restarted before killing tun0 !
exec ("sudo /usr/bin/systemctl restart chilli");
}
}
122,6 → 124,9
}
fclose($pointeur);
}
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/bin/systemctl restart dnsmasq-blackhole");
sleep 1 # be sure that dnsmasq-blackhole is restarted before killing tun0 !
exec ("sudo /usr/bin/systemctl restart chilli");
break;
case 'new_ip' :
181,6 → 186,7
}
fclose($pointeur);
}
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/bin/systemctl restart chilli");
break;
}