bcm27xx: fix unmounting /boot after sysupgrade
[openwrt/openwrt.git] / target / linux / bcm27xx / base-files / lib / upgrade / platform.sh
index 37c77edb34033543963edd68827414132201a929..a48b7cc08a3ee534615521e61d3da830bbeee390 100644 (file)
@@ -94,6 +94,6 @@ platform_copy_config() {
                cp -af "$UPGRADE_BACKUP" "/boot/$BACKUP_FILE"
                tar -C / -zxvf "$UPGRADE_BACKUP" boot/cmdline.txt boot/config.txt
                sync
-               unmount /boot
+               umount /boot
        fi
 }