Include an existing dracut module instead of attempting
to reimplement it.
}
depends() {
+ local deps
+ deps="terminfo"
+
if [[ $V == "2" ]]; then
- echo debug
+ deps+=" debug"
fi
+ echo "$deps"
return 0
}
inst_multiple mkdir ln dd stty mount poweroff umount setsid sync cat grep
- for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do
- [ -f "${_terminfodir}/l/linux" ] && break
- done
- inst_multiple -o "${_terminfodir}/l/linux"
-
inst_script "$moddir/test-init.sh" "/sbin/init"
inst_multiple -o plymouth