octeon: only copy sysupgrade file if present
authorJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 05:36:21 +0000 (06:36 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Feb 2017 05:36:21 +0000 (06:36 +0100)
commitc186a48fcad6d84c7a1ef010e047d16255529663
treeaf2e113e41eaad19fe7095e8af6ec580b3849e1c
parent1753720261d6feffd6d71ec9bfa7170499d5c1a2
octeon: only copy sysupgrade file if present

this caused

'mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory'

when running sysupgrade -n

Signed-off-by: John Crispin <john@phrozen.org>
target/linux/octeon/base-files/lib/preinit/79_move_config