ar71xx: fix defconfig script to work with ImageBuilder
authorGabor Juhos <juhosg@openwrt.org>
Mon, 15 Mar 2010 13:29:16 +0000 (13:29 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 15 Mar 2010 13:29:16 +0000 (13:29 +0000)
  * patch from #5722

SVN-Revision: 20231

target/linux/ar71xx/base-files/etc/init.d/defconfig

index 856d375829df375412167cdc2297cce4dc54e9e0..9fdfd6f899e90707baab36b8430451dfdaf7e79b 100755 (executable)
@@ -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"