From 95e6b846c5d57b5b66cdf4de49da00eb58647cf6 Mon Sep 17 00:00:00 2001
From: Michael Schwarz <post@michael-schwarz.name>
Date: Tue, 16 Jun 2015 21:00:46 +0200
Subject: [PATCH] Execute dmesg

---
 ffpb/ffpb-debug/files/bin/ffpb-debug | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ffpb/ffpb-debug/files/bin/ffpb-debug b/ffpb/ffpb-debug/files/bin/ffpb-debug
index bbf9fd4..c5d7fb0 100755
--- a/ffpb/ffpb-debug/files/bin/ffpb-debug
+++ b/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?')
-- 
GitLab