fi
}
-inst_fsck_help() {
- local _ret _helper="/run/dracut/fsck/fsck_help_$1.txt"
- if $DRACUT_INSTALL ${dracutsysrootdir:+-r "$dracutsysrootdir"} ${initdir:+-D "$initdir"} ${loginstall:+-L "$loginstall"} ${DRACUT_RESOLVE_DEPS:+-l} ${DRACUT_FIPS_MODE:+-f} "$2" "$_helper"; then
- return 0
- else
- _ret=$?
- derror "$DRACUT_INSTALL" ${dracutsysrootdir:+-r "$dracutsysrootdir"} ${initdir:+-D "$initdir"} ${loginstall:+-L "$loginstall"} ${DRACUT_RESOLVE_DEPS:+-l} ${DRACUT_FIPS_MODE:+-f} "$2" "$_helper"
- return $_ret
- fi
-}
-
# Use with form hostonly="$(optional_hostonly)" inst_xxxx <args>
# If hostonly mode is set to "strict", hostonly restrictions will still
# be applied, else will ignore hostonly mode and try to install all
_emergency_action=$(getarg rd.emergency)
if getargbool 1 rd.shell || getarg rd.break; then
- FSTXT="/run/dracut/fsck/fsck_help_$fstype.txt"
RDSOSREPORT="$(rdsosreport)"
source_hook "$hook"
while read -r _tty rest; do
echo 'after mounting them and attach it to a bug report.'
echo
echo
- [ -f "$FSTXT" ] && cat "$FSTXT"
) > /dev/"$_tty"
done < /proc/consoles
[ -f /etc/profile ] && . /etc/profile