projects
/
openwrt
/
staging
/
rmilecki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
treewide: sysupgrade: don't use $ARGV in platform_do_upgrade()
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
gemini
/
base-files
/
lib
/
upgrade
/
platform.sh
1
REQUIRE_IMAGE_METADATA
=
1
2
3
platform_check_image
() {
4
local
board
=
$
(
board_name
)
5
6
case
"
$board
"
in
7
dlink
,
dir-685
)
8
return
0
9
;;
10
esac
11
12
echo
"Sysupgrade is not yet supported on
$board
."
13
return
1
14
}
15
16
platform_do_upgrade
() {
17
local
board
=
$
(
board_name
)
18
19
case
"
$board
"
in
20
dlink
,
dir-685
)
21
PART_NAME
=
firmware
22
default_do_upgrade
"
$1
"
23
;;
24
esac
25
}