Magellan Linux

Contents of /alx-src/branches/alx-web-060/include/hwinfo.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2603 - (show annotations) (download)
Wed Jul 6 10:44:48 2011 UTC (12 years, 9 months ago) by niro
File size: 264 byte(s)
-fixed includes
1 <?
2 include('common-functions.php');
3
4 if(isset($_POST['cmd']) && isset($_POST['ip'])) {
5 $ip = $_POST['ip'];
6 $cmd = $_POST['cmd'];
7
8 $retval = sshdo('/sbin/alx-hwdetection '.$cmd, $ip);
9 $driver = trim($retval[1]);
10 echo strtoupper($cmd)." Driver: ".$driver;
11 }
12 ?>