#!/bin/bash

build() {
    add_module "overlay"

    add_runscript
}

help() {
cat <<HELPEOF
    Syntax: ofs[=path]
    required to enable the hook, allows to specify the RW filesystem

    by default mounts a tmpfs filesystem
    if "path" is specified, mounts $root/[$subdir]-$path

    *WARNING*: the FS specified here WILL be modified, so use carefully

It requires the "overlayfs" module.

HELPEOF
        }
