#!/bin/sh

source /lib/functions/ext4vol.sh

do_create_logs() {
        if [ -f /data/logs ] ; then 
            rm -f /data/logs
        fi
        check_dir_content_ext4_single_partition /data/logs
}

boot_hook_add preinit_main do_create_logs
