Skip to content

v1.1.3 - silent by default

Choose a tag to compare

@enesilhaydin enesilhaydin released this 21 May 12:28
· 12 commits to main since this release

Logging is now opt-in. The module writes nothing to /data/adb/lan-killswitch.log unless the sentinel file /data/adb/lan-killswitch.debug exists.

Enable / disable

# turn on
adb shell su -c 'touch /data/adb/lan-killswitch.debug'

# turn off
adb shell su -c 'rm /data/adb/lan-killswitch.debug'

This stops the log file from growing unbounded on devices that see frequent network cycles.

The optional companion boot-trace diagnostic (described in the README) follows the same pattern with /data/adb/boot-trace.enable.