Magellan Linux

Diff of /alx-src/tags/alx-web-0_7_0_20171218_1/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1608 by niro, Thu Dec 2 22:13:04 2010 UTC revision 1609 by niro, Thu Dec 2 22:15:08 2010 UTC
# Line 24  Line 24 
24   function check_online($dat, $bla)   function check_online($dat, $bla)
25   {   {
26   global $comps;   global $comps;
27     global $pingcmd;
28   if(!isset($comps[$dat['serial']])) return false;   if(!isset($comps[$dat['serial']])) return false;
29    
30   //passthru("/bin/ping -I eth0 -c 1 -W 1 -q ".$dat['ip']." &> /dev/null && exit 0 || exit 1",$retval);   //passthru("/bin/ping -I eth0 -c 1 -W 1 -q ".$dat['ip']." &> /dev/null && exit 0 || exit 1",$retval);

Legend:
Removed from v.1608  
changed lines
  Added in v.1609