| 118,7 → 118,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 |
| sleep (1); # be sure that unbound-blackhole is restarted before killing tun0 ! |
| sleep (1); # be sure that dnsmasq-blackhole is restarted before killing tun0 ! |
| exec ("sudo /usr/bin/systemctl restart chilli"); |
| } |
| } |
| 153,7 → 153,7 |
| fclose($pointeur); |
| } |
| 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 unbound-blackhole is restarted before killing tun0 ! |
| sleep (1); # be sure that dnsmasq-blackhole is restarted before killing tun0 ! |
| exec ("sudo /usr/bin/systemctl restart chilli"); |
| break; |
| case 'new_ip' : |