Created
August 2, 2025 00:36
-
-
Save zhangyoufu/0363e9c3edc11b9da8919aa160d26927 to your computer and use it in GitHub Desktop.
/etc/init.d/mt76_tx_hang_reset chmod +x / enable / start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh /etc/rc.common | |
| START=90 | |
| STOP=01 | |
| USE_PROCD=1 | |
| start_service() { | |
| procd_open_instance | |
| procd_set_param command /bin/sh -c 'while :; do read < /sys/kernel/debug/ieee80211/phy1/mt76/tx_hang_reset; [ "$REPLY" -eq 0 ] || break; sleep 5; done; reboot' | |
| procd_close_instance | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment