diff --git a/src/fppd.cpp b/src/fppd.cpp index c43c7bbbb..9789af50a 100644 --- a/src/fppd.cpp +++ b/src/fppd.cpp @@ -353,7 +353,7 @@ static void handleCrash(int s) { if (crashLog > 1) { strcat(zName, " settings"); if (crashLog > 2) { - system("dmesg > tmp/boot.log"); + system("dmesg -T > tmp/boot.log"); system("journalctl -b -u fppinit -u fppoled -u fpp_postnetwork >> tmp/boot.log"); strcat(zName, " config tmp logs/fppd.log logs/apache2-error.log playlists /etc/fpp"); } diff --git a/www/troubleshoot-commands.json b/www/troubleshoot-commands.json index a24796bda..b1fd82ef0 100644 --- a/www/troubleshoot-commands.json +++ b/www/troubleshoot-commands.json @@ -409,6 +409,14 @@ "platforms": [ "all" ] + }, + "DMESGDLogs": { + "title": "dmesg", + "description": "", + "cmd": "dmesg -T", + "platforms": [ + "all" + ] } } }, @@ -488,7 +496,7 @@ "RPIINFO": { "title": "RPI Info", "description": "Raspberry Pi inbuilt info tool", - "cmd": "/bin/raspinfo; rm -f raspinfo.txt", + "cmd": "/bin/raspinfo | sed '/dmesg/q'; rm -f raspinfo.txt", "platforms": [ "Raspberry Pi" ]