Skip to content
Snippets Groups Projects
Commit 61171c8c authored by Nils Schneider's avatar Nils Schneider
Browse files

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.
parent f2c8be9c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment