--- alx-src/branches/alx-web-070/reboot.php 2015/09/25 08:56:46 7708 +++ alx-src/branches/alx-web-070/reboot.php 2015/09/25 08:57:27 7709 @@ -1,5 +1,6 @@ include('include/common-functions.php'); +include('include/socket_send.php'); echo '
'; echo '';
@@ -9,7 +10,8 @@
if($retval==0)
{
echo ' '.strtoupper($op.'ing client #'.$client.' ('.$ip.')... '); - @sshdo('/sbin/'.$op, $ip); + //@sshdo('/sbin/'.$op, $ip); + mcore_socket_send($ip, "6666", $op); } else echo ' '.strtoupper('Client not online, try again later... '); |