Skip to content

Instantly share code, notes, and snippets.

@yanosz
Created January 26, 2013 18:15
Show Gist options
  • Save yanosz/4643600 to your computer and use it in GitHub Desktop.
Save yanosz/4643600 to your computer and use it in GitHub Desktop.
#!/bin/sh
logread -f | grep 'Failed to stop TX DMA' | while read line
do
/bin/date >> /tmp/wifi_restarts.log
/sbin/wifi restart
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment