autoupdater: fix usage of /lib/ar71xx.sh
This commit is contained in:
parent
4efe5575fe
commit
5914088bd1
|
@ -37,7 +37,9 @@ cleanup() {
|
|||
|
||||
trap cleanup INT TERM EXIT PIPE
|
||||
|
||||
my_model="$(cat /tmp/sysinfo/model | sed 's/ /-/g' | tr '[A-Z]' '[a-z]')"
|
||||
. /lib/ar71xx.sh
|
||||
|
||||
my_model="$(ar71xx_board_name)"
|
||||
|
||||
case "$my_model" in
|
||||
"tl-wdr4300")
|
||||
|
|
Loading…
Reference in New Issue