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