forked from freifunk-franken/firmware
forgot to add watchdog in last commit
This commit is contained in:
parent
59304a1224
commit
055ab542a2
16
bsp/default/root_file_system/etc/ath9k-watchdog
Executable file
16
bsp/default/root_file_system/etc/ath9k-watchdog
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
logread -f | while read line
|
||||||
|
do
|
||||||
|
case "$line" in
|
||||||
|
*"Failed to stop TX"*)
|
||||||
|
|
||||||
|
#reset wifi
|
||||||
|
wifi reset
|
||||||
|
#add batman-adv-if
|
||||||
|
batctl if add wlan0-1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user