From 61171c8c25816dd3b3777a4f50c826c21548a044 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 12 Jan 2014 21:10:04 +0100 Subject: [PATCH] gluon-autoupdater: remove dead code Recently the autoupdater contained a case statement to distinguish between TP-Link WDR3600 and TP-Link WDR4300. This was left over from previous development versions of autoupdater that relied on the board name instead of the model. It is thus no longer needed and be removed safely. --- package/gluon-autoupdater/files/usr/sbin/autoupdater | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/package/gluon-autoupdater/files/usr/sbin/autoupdater b/package/gluon-autoupdater/files/usr/sbin/autoupdater index b2f0ce74..c473f271 100755 --- a/package/gluon-autoupdater/files/usr/sbin/autoupdater +++ b/package/gluon-autoupdater/files/usr/sbin/autoupdater @@ -39,16 +39,6 @@ trap cleanup INT TERM EXIT PIPE my_model="$(cat /tmp/sysinfo/model | sed 's/ /-/g' | tr '[A-Z]' '[a-z]')" -case "$my_model" in - "tl-wdr4300") - case "$(tplink_get_hwid)" in - "360000"*) - my_model="tl-wdr3600" - ;; - esac - ;; -esac - if [ ! -f "$VERSION_FILE" ]; then echo "Couldn't determine firmware version!" >&2 exit 1