소스 검색

Update 'DiskInfo/opr.php'

Yeung Alan 6 년 전
부모
커밋
32cc7f5c6f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      DiskInfo/opr.php

+ 5 - 0
DiskInfo/opr.php

@@ -1,5 +1,10 @@
 <?php
 header("Access-Control-Allow-Origin: *");
+// WARNING the smartctl binary seem is corrupted
+// you need smartctl 7.0.0 above to support JSON output
+// or you can choose to install by apt
+// in here are hard coded to static code for ease for debug
+// you should uncomment before use it
 
 if($_GET["opr"] == "scan"){
 	//echo shell_exec('./smartctl_i386 --scan -j');