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.
This commit is contained in:
Nils Schneider 2014-01-12 21:10:04 +01:00
parent f2c8be9c48
commit 61171c8c25

View File

@ -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