#!/bin/sh -efu

. sh-functions

[ "$#" -gt 0 ] || return 0

add-module "$@"
printf 'RESCUE_MODULES="%s"\n' "$*" >> "$rootdir"/conf/initramfs.conf
