#!/bin/sh

which mmc_protect || exit 1

. /etc/default/mount_checks

{
    # We're disabling mmc_protect until the rest of the issues are
    # worked out.
    mmc_protect $MMC_PROTECT_OPTS -P -p 0

    # Now lock or unlock the /boot partition's mmc based on the
    # rootfs_open flags.  In the typical case we'll be locking what's
    # already locked, but that's a fast operation.
# see above: commenting this out for now
#     [ -f /etc/default/mount_checks ] || exit 1
#     . /etc/default/mount_checks
#     mmc_boot_update
} &
