Loading cmds/dumpstate/dumpstate.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -192,6 +192,8 @@ static void dumpstate() { run_command("DUMP WIFI INTERNAL COUNTERS", 20, run_command("DUMP WIFI INTERNAL COUNTERS", 20, SU_PATH, "root", "wlutil", "counters", NULL); SU_PATH, "root", "wlutil", "counters", NULL); #endif #endif dump_file("INTERRUPTS (1)", "/proc/interrupts"); property_get("dhcp.wlan0.gateway", network, ""); property_get("dhcp.wlan0.gateway", network, ""); if (network[0]) if (network[0]) run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); Loading @@ -207,6 +209,7 @@ static void dumpstate() { run_command("DUMP WIFI INTERNAL COUNTERS", 20, run_command("DUMP WIFI INTERNAL COUNTERS", 20, SU_PATH, "root", "wlutil", "counters", NULL); SU_PATH, "root", "wlutil", "counters", NULL); #endif #endif dump_file("INTERRUPTS (2)", "/proc/interrupts"); print_properties(); print_properties(); Loading Loading
cmds/dumpstate/dumpstate.c +3 −0 Original line number Original line Diff line number Diff line Loading @@ -192,6 +192,8 @@ static void dumpstate() { run_command("DUMP WIFI INTERNAL COUNTERS", 20, run_command("DUMP WIFI INTERNAL COUNTERS", 20, SU_PATH, "root", "wlutil", "counters", NULL); SU_PATH, "root", "wlutil", "counters", NULL); #endif #endif dump_file("INTERRUPTS (1)", "/proc/interrupts"); property_get("dhcp.wlan0.gateway", network, ""); property_get("dhcp.wlan0.gateway", network, ""); if (network[0]) if (network[0]) run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); run_command("PING GATEWAY", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL); Loading @@ -207,6 +209,7 @@ static void dumpstate() { run_command("DUMP WIFI INTERNAL COUNTERS", 20, run_command("DUMP WIFI INTERNAL COUNTERS", 20, SU_PATH, "root", "wlutil", "counters", NULL); SU_PATH, "root", "wlutil", "counters", NULL); #endif #endif dump_file("INTERRUPTS (2)", "/proc/interrupts"); print_properties(); print_properties(); Loading