mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 17:31:27 +00:00
This feature makes use of the crashlog driver in the kernel. If we experience an oops, the kernel will store the stack trace inside /sys/kernel/debug/crashlog. OpenSync will then add an entry to the Alarms table. The could can then retrieve the crashlog via the Command_config table. A crash can be simulated with echo c > /proc/sysrq-trigger Signed-off-by: John Crispin <john@phrozen.org>
4 lines
170 B
Bash
Executable File
4 lines
170 B
Bash
Executable File
#!/bin/sh
|
|
|
|
/usr/opensync/tools/ovsh insert Command_Config command:="crashlog" delay:=5 timestamp:=123 payload:="[\"map\",[[\"ul_url\",\"http://192.168.178.9/upload\"]]]"
|