#!/bin/bash ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0))/..) SELF=$(readlink -f $0) print_module_usage() { echo "Toolkit for creating systemd based initramfs images (osid)" echo "Usage: $(basename $SELF) MODULE [OPTIONS]" echo "Modules:" echo -e " env \t fetch, update, recreate kernel/initramfs" echo -e " iso \t create preboot isos" echo -e " usb \t create preboot usb sticks" echo -e " installer \t create self-extracting installers" echo "For more help run: $(basename $SELF) MODULE --help" }