From 5c9ca26d4f58031438a2859125e0946957ebb770 Mon Sep 17 00:00:00 2001 From: Bjoern Franke Date: Sun, 17 Feb 2013 11:24:35 +0100 Subject: [PATCH] ALL ath9k: add ath9k-watchdog script --- bsp/wr1043nd/root_file_system/etc/ath9k-watchdog | 14 ++++++++++++++ bsp/wr741nd2/root_file_system/etc/ath9k-watchdog | 14 ++++++++++++++ bsp/wr741nd4/root_file_system/etc/ath9k-watchdog | 14 ++++++++++++++ bsp/wr841nd7/root_file_system/etc/ath9k-watchdog | 14 ++++++++++++++ 4 files changed, 56 insertions(+) create mode 100755 bsp/wr1043nd/root_file_system/etc/ath9k-watchdog create mode 100755 bsp/wr741nd2/root_file_system/etc/ath9k-watchdog create mode 100755 bsp/wr741nd4/root_file_system/etc/ath9k-watchdog create mode 100755 bsp/wr841nd7/root_file_system/etc/ath9k-watchdog diff --git a/bsp/wr1043nd/root_file_system/etc/ath9k-watchdog b/bsp/wr1043nd/root_file_system/etc/ath9k-watchdog new file mode 100755 index 0000000..d9b49d7 --- /dev/null +++ b/bsp/wr1043nd/root_file_system/etc/ath9k-watchdog @@ -0,0 +1,14 @@ +#!/bin/sh + +logread -f | while read line +do + case "$line" in + *"Could not stop RX"*) + + #Bye + /sbin/reboot + ;; + *) + ;; + esac +done diff --git a/bsp/wr741nd2/root_file_system/etc/ath9k-watchdog b/bsp/wr741nd2/root_file_system/etc/ath9k-watchdog new file mode 100755 index 0000000..d9b49d7 --- /dev/null +++ b/bsp/wr741nd2/root_file_system/etc/ath9k-watchdog @@ -0,0 +1,14 @@ +#!/bin/sh + +logread -f | while read line +do + case "$line" in + *"Could not stop RX"*) + + #Bye + /sbin/reboot + ;; + *) + ;; + esac +done diff --git a/bsp/wr741nd4/root_file_system/etc/ath9k-watchdog b/bsp/wr741nd4/root_file_system/etc/ath9k-watchdog new file mode 100755 index 0000000..d9b49d7 --- /dev/null +++ b/bsp/wr741nd4/root_file_system/etc/ath9k-watchdog @@ -0,0 +1,14 @@ +#!/bin/sh + +logread -f | while read line +do + case "$line" in + *"Could not stop RX"*) + + #Bye + /sbin/reboot + ;; + *) + ;; + esac +done diff --git a/bsp/wr841nd7/root_file_system/etc/ath9k-watchdog b/bsp/wr841nd7/root_file_system/etc/ath9k-watchdog new file mode 100755 index 0000000..d9b49d7 --- /dev/null +++ b/bsp/wr841nd7/root_file_system/etc/ath9k-watchdog @@ -0,0 +1,14 @@ +#!/bin/sh + +logread -f | while read line +do + case "$line" in + *"Could not stop RX"*) + + #Bye + /sbin/reboot + ;; + *) + ;; + esac +done