소스 검색

Execute dmesg

Michael Schwarz 9 년 전
부모
커밋
95e6b846c5
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      ffpb/ffpb-debug/files/bin/ffpb-debug

+ 4 - 0
ffpb/ffpb-debug/files/bin/ffpb-debug

@@ -125,6 +125,10 @@ if oldReport==nil then
 	os.execute("killall -USR1 fastd 2>/dev/null")
 	debugdata = debugdata .. cmd("logread")
 	debugdata = debugdata .. "---- END BATMAN AND FASTD STATUS ----\n\n"
+
+	debugdata = debugdata .. "---- BEGIN DMESG KERNEL LOG ----\n"
+	debugdata = debugdata .. cmd("dmesg")
+	debugdata = debugdata .. "---- END DMESG KERNEL LOG ----\n\n"
 else
 	print('Orphaned debug-report file found.')
 	print('-- You wouldn\'t want me to dig up Flynn\'s file and read it up on a VDT at The Times, would you?')