#!/bin/bash

build() {
    add_module "overlay"

    add_runscript
}

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

    by default mounts a tmpfs filesystem
    if "dir" is specified, mounts $root/[$rootdir]-dir. Need  rootdir= (no ntfs fat)
    if "dir" is specified /dev/sdb1:dir , mounts /dev/sdb1:dir (no ntfs fat)

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

It requires the "overlay" module.

HELPEOF
        }
