From d101e2d6af29a304465aac759f39ba7d28b9696a 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. --- gluon/gluon-autoupdater/files/usr/sbin/autoupdater | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gluon/gluon-autoupdater/files/usr/sbin/autoupdater b/gluon/gluon-autoupdater/files/usr/sbin/autoupdater index b2f0ce7..c473f27 100755 --- a/gluon/gluon-autoupdater/files/usr/sbin/autoupdater +++ b/gluon/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