Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2178 → Rev 2177

/web/acc/manager/auth_exceptions.php
89,6 → 89,7
fwrite ($pointeur, $line);
fclose ($pointeur);
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");
}
123,7 → 124,8
}
fclose($pointeur);
}
exec ("sudo /usr/local/bin/alcasar-file-clean.sh"); # Clean & sort conf files. Add uamallowed domains to the dns-blackhole conf
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;
150,7 → 152,7
$pointeur=fopen(IP_ALLOWED_LIST,"a");
fwrite ($pointeur, $line);
fclose ($pointeur);
exec ("sudo /usr/local/bin/alcasar-file-clean.sh"); # Clean & sort conf files. Add uamallowed domains to the dns-blackhole conf
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/bin/systemctl restart chilli");
}
}
184,7 → 186,7
}
fclose($pointeur);
}
exec ("sudo /usr/local/bin/alcasar-file-clean.sh"); # Clean & sort conf files. Add uamallowed domains to the dns-blackhole conf
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/bin/systemctl restart chilli");
break;
}