forked from freifunk-franken/firmware
ALL ath9k: add ath9k-watchdog script
This commit is contained in:
parent
e839e70c11
commit
5c9ca26d4f
14
bsp/wr1043nd/root_file_system/etc/ath9k-watchdog
Executable file
14
bsp/wr1043nd/root_file_system/etc/ath9k-watchdog
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
logread -f | while read line
|
||||
do
|
||||
case "$line" in
|
||||
*"Could not stop RX"*)
|
||||
|
||||
#Bye
|
||||
/sbin/reboot
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
14
bsp/wr741nd2/root_file_system/etc/ath9k-watchdog
Executable file
14
bsp/wr741nd2/root_file_system/etc/ath9k-watchdog
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
logread -f | while read line
|
||||
do
|
||||
case "$line" in
|
||||
*"Could not stop RX"*)
|
||||
|
||||
#Bye
|
||||
/sbin/reboot
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
14
bsp/wr741nd4/root_file_system/etc/ath9k-watchdog
Executable file
14
bsp/wr741nd4/root_file_system/etc/ath9k-watchdog
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
logread -f | while read line
|
||||
do
|
||||
case "$line" in
|
||||
*"Could not stop RX"*)
|
||||
|
||||
#Bye
|
||||
/sbin/reboot
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
14
bsp/wr841nd7/root_file_system/etc/ath9k-watchdog
Executable file
14
bsp/wr841nd7/root_file_system/etc/ath9k-watchdog
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
logread -f | while read line
|
||||
do
|
||||
case "$line" in
|
||||
*"Could not stop RX"*)
|
||||
|
||||
#Bye
|
||||
/sbin/reboot
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
Loading…
Reference in New Issue
Block a user