autoupdater: fix usage of /lib/ar71xx.sh

This commit is contained in:
Jan-Philipp Litza 2014-01-11 12:35:07 +01:00
parent 4efe5575fe
commit 5914088bd1
1 changed files with 3 additions and 1 deletions

View File

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