--- alx-src/branches/alx-web-050/reboot.php 2010/12/02 21:46:31 1607 +++ alx-src/branches/alx-web-050/reboot.php 2010/12/02 22:13:04 1608 @@ -8,7 +8,6 @@ * * that's it, works4me (TM) */ - include('include/config.inc.php'); include('include/dbconn.php'); echo ''; @@ -27,7 +26,7 @@ passthru($pingcmd.' '.$ip.' &> /dev/null && exit 0 || exit 1',$retval); if($retval==0) { echo ' '.strtoupper($op.'ing client #'.$client.' ('.$ip.')...
'); - system($sshcmd.' -l root -o ConnectTimeout=5 '.$ip.' /sbin/'.$op); + system($sshcmd.' '.$ip.' /sbin/'.$op); } else echo ' '.strtoupper('Client not online, try again later...
'); }