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 08:37:15 +0000 (09:37 +0100)
commit30a4966053562dd252a302c831e780cce8bbdec6
treead8e620c3d004c93006f74d1597ebcf8645955fc
parent152f57f509bba0ff647539916533db861e546d58
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