mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 09:26:28 +00:00
octeon: sysupgrade: fix test for rootfs device
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 43522
This commit is contained in:
parent
dcc20e525b
commit
52f1d8ecdc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user