ar71xx: fix defconfig script to work with ImageBuilder

* patch from #5722

SVN-Revision: 20231
This commit is contained in:
Gabor Juhos 2010-03-15 13:29:16 +00:00
parent 5da6ae3ab5
commit 0095ab73f3

View File

@ -3,11 +3,11 @@
# Copyright (C) 2009 OpenWrt.org
#
. /lib/ar71xx.sh
START=05
start() {
. /lib/ar71xx.sh
local board=$(ar71xx_board_name)
[ ! -d /etc/defconfig/$board ] && board="generic"