Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
911f4757d3
|
|
@ -12,6 +12,8 @@
|
||||||
"gstatic.com"
|
"gstatic.com"
|
||||||
],
|
],
|
||||||
"networks": [
|
"networks": [
|
||||||
|
"85.249.244.0/23",
|
||||||
|
"213.221.56.0/27",
|
||||||
"104.154.0.0/15",
|
"104.154.0.0/15",
|
||||||
"104.196.0.0/14",
|
"104.196.0.0/14",
|
||||||
"104.237.160.0/19",
|
"104.237.160.0/19",
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"description": "redtube",
|
|
||||||
"domains": [
|
|
||||||
"redtube.com"
|
|
||||||
],
|
|
||||||
"networks": [
|
|
||||||
"66.254.114.238/32"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"description": "www.snapeda.com",
|
||||||
|
"domains": ["www.snapeda.com"],
|
||||||
|
"networks": [
|
||||||
|
"104.26.0.159/32",
|
||||||
|
"104.26.1.159/32",
|
||||||
|
"172.67.71.169/32"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -66,6 +66,8 @@ class QuaggaPlugin extends Plugin
|
||||||
rename($configfile, $backupFile);
|
rename($configfile, $backupFile);
|
||||||
file_put_contents($configfile, implode("\n", $lines));
|
file_put_contents($configfile, implode("\n", $lines));
|
||||||
|
|
||||||
|
sleep(10);
|
||||||
|
|
||||||
//restart zebra
|
//restart zebra
|
||||||
return shell_exec($this->config["restart_cmd"]);
|
return shell_exec($this->config["restart_cmd"]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue