Commit Graph

5 Commits (b6fbe7bd5da6548323030ced25582d90c7a99cc7)

Author SHA1 Message Date
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
10 years ago
John Crispin e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
11 years ago
Gabor Juhos f04cccb842 avr32: add sysupgrade support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35982
11 years ago
Gabor Juhos cb9fad715c avr32: add diag support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35980
11 years ago
Gabor Juhos de0d19ac3d avr32: create network config dynamically
The default network configuration from base-files
is not correct for the NGW100 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35979
11 years ago