Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2177 → Rev 2178

/web/acc/manager/auth_exceptions.php
89,7 → 89,6
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");
}
124,8 → 123,7
}
fclose($pointeur);
}
exec ("sudo /usr/local/bin/alcasar-file-clean.sh");
exec ("sudo /usr/bin/systemctl restart dnsmasq-blackhole");
exec ("sudo /usr/local/bin/alcasar-file-clean.sh"); # Clean & sort conf files. Add uamallowed domains to the dns-blackhole conf
sleep (1); # be sure that dnsmasq-blackhole is restarted before killing tun0 !
exec ("sudo /usr/bin/systemctl restart chilli");
break;
152,7 → 150,7
$pointeur=fopen(IP_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 chilli");
}
}
186,7 → 184,7
}
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 chilli");
break;
}