From 5914088bd17962047cdd96433fac20636c924d0c Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Sat, 11 Jan 2014 12:35:07 +0100 Subject: [PATCH] autoupdater: fix usage of /lib/ar71xx.sh --- gluon/gluon-autoupdater/files/usr/sbin/autoupdater | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gluon/gluon-autoupdater/files/usr/sbin/autoupdater b/gluon/gluon-autoupdater/files/usr/sbin/autoupdater index b2f0ce7..7db5755 100755 --- a/gluon/gluon-autoupdater/files/usr/sbin/autoupdater +++ b/gluon/gluon-autoupdater/files/usr/sbin/autoupdater @@ -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")