#!/bin/sh

#     DESCRIPTION
#
# Remove /boot directory from squashfs image
# We need more free space!


#     REQUIRES
#
# Nothing


#     INFO
#

NAME="init1-rm-boot-dir"

verbose()
{
    if [ -n "$GLOBAL_VERBOSE" ]; then
        echo "HOOK: $NAME: $@"
    fi
}

verbose "has started"

verbose "Empty /boot directory"

rm -rf /boot/*

verbose "finished"
