projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcc20e5
)
octeon: sysupgrade: fix test for rootfs device
author
John Crispin
<john@openwrt.org>
Fri, 5 Dec 2014 08:58:06 +0000
(08:58 +0000)
committer
John Crispin
<john@openwrt.org>
Fri, 5 Dec 2014 08:58:06 +0000
(08:58 +0000)
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43522
target/linux/octeon/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/octeon/base-files/lib/upgrade/platform.sh
b/target/linux/octeon/base-files/lib/upgrade/platform.sh
index d81d7fdec780b24ab6ce01fc51baf4a0d95ee2f6..1df3d17e24a33dc48b670005bf1b0b780adbd22a 100755
(executable)
--- a/
target/linux/octeon/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/octeon/base-files/lib/upgrade/platform.sh
@@
-36,7
+36,7
@@
platform_do_upgrade() {
local board=$(octeon_board_name)
local rootfs="$(platform_get_rootfs)"
- [ -
d
"${rootfs}" ] || return 1
+ [ -
b
"${rootfs}" ] || return 1
case "$board" in
erlite)