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:
parent
10d163697b
commit
d101e2d6af
|
@ -39,16 +39,6 @@ trap cleanup INT TERM EXIT PIPE
|
||||||
|
|
||||||
my_model="$(cat /tmp/sysinfo/model | sed 's/ /-/g' | tr '[A-Z]' '[a-z]')"
|
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
|
if [ ! -f "$VERSION_FILE" ]; then
|
||||||
echo "Couldn't determine firmware version!" >&2
|
echo "Couldn't determine firmware version!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue