소스 검색

Update netlog.sh

蘭雅sRGB 6 년 전
부모
커밋
6c008dd881
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netlog.sh

+ 1 - 1
netlog.sh

@@ -3,7 +3,7 @@
 INDEX_HTML=/var/www/log/index.html
 mkdir -p   /var/www/log/
 
-echo '<pre>' > ${INDEX_HTML}
+echo '<!DOCTYPE html><meta charset=utf-8><pre>' > ${INDEX_HTML}
 
 top -b  | head -5 >> ${INDEX_HTML}