x86: move sysupgrade.tgz only if it exists
authorYousong Zhou <yszhou4tech@gmail.com>
Sat, 31 Dec 2016 17:06:29 +0000 (01:06 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Jan 2017 10:09:13 +0000 (11:09 +0100)
commitfa37bdc05a3e8ebab7de293d059959b2efc99581
tree1f17598a427d004987f001a50a7bedd45e333a1e
parent5f9e36712799e7737695384e3c82278af3ddf368
x86: move sysupgrade.tgz only if it exists

To squash error messages at boot time

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

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
target/linux/x86/base-files/lib/preinit/79_move_config