Last active
September 2, 2015 12:26
-
-
Save luxflux/9fbc50ddca8c1fffaab7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cmd = $_CONF['rndc'] . " reload > /dev/null"; | |
system($cmd, $exit); | |
if ($exit != 0) { die($_CONF['rndc'] . " exit status " . $exit); } | |
$cmd = '/root/master2slave.sh'; | |
system($cmd, $exit); | |
if ($exit != 0) { die($_CONF['rndc'] . " exit status " . $exit); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment