Changeset 142
- Timestamp:
- 05/16/06 12:53:53 (3 years ago)
- Files:
-
- trunk/webmin/lbs-vnc/debian/changelog (modified) (1 diff)
- trunk/webmin/lbs-vnc/index.cgi (modified) (2 diffs)
- trunk/webmin/lbs-vnc/module.info (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/webmin/lbs-vnc/debian/changelog
r136 r142 1 webmin-lbs-vnc (0.9. 3) stable; urgency=low1 webmin-lbs-vnc (0.9.4) stable; urgency=low 2 2 3 3 * New release. trunk/webmin/lbs-vnc/index.cgi
r137 r142 119 119 } 120 120 121 # and net lookup 122 $ret = exec("sh -c \"/usr/bin/net cache flush;/usr/bin/net lookup host ".escapeshellcmd($name)." 2>&1\""); 123 preg_match("/^(\d+\.\d+\.\d+\.\d+)/", $ret, $match); 124 $ip = $match[1]; 125 if ($ip != "") { 126 scanRunVNC($ip, $type, $ssh); 127 $ips .= " ".$ip; 128 } 129 121 130 # and nmblookup 122 131 $ret = exec("/usr/bin/nmblookup $name 2>&1"); … … 128 137 } 129 138 130 # and net lookup131 $ret = exec("/usr/bin/net lookup host $name 2>&1");132 preg_match("/^(\d+\.\d+\.\d+\.\d+)/", $ret, $match);133 $ip = $match[1];134 if ($ip != "") {135 scanRunVNC($ip, $type, $ssh);136 $ips .= " ".$ip;137 }138 139 139 140 # Last try: find info from OCS Inventory trunk/webmin/lbs-vnc/module.info
r136 r142 3 3 desc_fr=LRS : Prise de Contrôle à Distance 4 4 depends=0.94 lbs_common 5 version=0.9. 35 version=0.9.4
