aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/base-files/lib/preinit/79_move_config
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86/base-files/lib/preinit/79_move_config')
-rw-r--r--target/linux/x86/base-files/lib/preinit/79_move_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/base-files/lib/preinit/79_move_config b/target/linux/x86/base-files/lib/preinit/79_move_config
index debce43557..aff720a52c 100644
--- a/target/linux/x86/base-files/lib/preinit/79_move_config
+++ b/target/linux/x86/base-files/lib/preinit/79_move_config
@@ -9,10 +9,10 @@ move_config() {
if export_bootdevice && export_partdevice partdev 1; then
mkdir -p /boot
mount -t ext4 -o rw,noatime "/dev/$partdev" /boot
- mount --bind /boot/boot /boot
if [ -f /boot/sysupgrade.tgz ]; then
mv -f /boot/sysupgrade.tgz /
fi
+ mount --bind /boot/boot /boot
fi
}