From f41eb46966b121d62bbf4a55f31801317e89b967 Mon Sep 17 00:00:00 2001 From: "Jean (east-high-Nerd)" Date: Wed, 31 Dec 2025 23:39:14 -0500 Subject: [PATCH] Moved dracut stuff into 'fedora.sh' --- fedora.sh | 6 ++++-- install.sh | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fedora.sh b/fedora.sh index b7066bd..7a8911c 100755 --- a/fedora.sh +++ b/fedora.sh @@ -57,6 +57,8 @@ elif [[ "${1}" == '--resolv-conf' ]]; then cp -L \ /etc/resolv.conf \ /mnt/etc -elif [[ "${1}" == '-3' ]]; then - # +elif [[ "${1}" == '--dracut' ]]; then + dracut \ + --force \ + --regenerate-all fi diff --git a/install.sh b/install.sh index 46fde69..d272410 100755 --- a/install.sh +++ b/install.sh @@ -137,9 +137,7 @@ fi if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then "${baseDir}/debian.sh" --initramfs elif [[ "${ID}" == 'fedora' ]]; then - dracut \ - --force \ - --regenerate-all + "${baseDir}/fedora.sh" --dracut fi zfs \