Edit file File name : copymods Content :#!/bin/sh set -e prereqs() { local o="/scripts/init-bottom/overlayroot" p="" for p in "$DESTDIR/" ""; do [ -e "$p$o" ] && echo "overlayroot" && return 0 done } [ "$1" = "prereqs" ] && { prereqs; exit; } . /usr/share/initramfs-tools/hook-functions # vi: ts=4 noexpandtab Save