diff --git a/ath9k-watchdog/files/ath9k-watchdog-pm b/ath9k-watchdog/files/ath9k-watchdog-pm index c936f5b8533d772c0e7f7b1fe7c5d3861b1f09d3..b5e35241b4499d66306f861094eade027023354b 100755 --- a/ath9k-watchdog/files/ath9k-watchdog-pm +++ b/ath9k-watchdog/files/ath9k-watchdog-pm @@ -12,7 +12,7 @@ cd /usr/lib/ath9k-watchdog while [ 1 = 1 ] do for f in $(ls .); do - $WGETC -q $UPLOAD_URL"?object=router&object_id="$(uci get configurator.@crawl[0].router_id)"&data[action]=watchdog_ath9k_bug&"$(cat $f) -O - && rm $f + $WGETC -q $UPLOAD_URL"?object=router&object_id="$(uci get configurator.@crawl[0].router_id)"&action=watchdog_ath9k_bug&"$(cat $f) -O - && rm $f done sleep 60 # If there are more than 15 files, assume that files cannot be uploaded