diff options
Diffstat (limited to 'contrib/Fedora/haveged-dracut.module')
-rwxr-xr-x | contrib/Fedora/haveged-dracut.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/Fedora/haveged-dracut.module b/contrib/Fedora/haveged-dracut.module index 80eb2c5..ed5f851 100755 --- a/contrib/Fedora/haveged-dracut.module +++ b/contrib/Fedora/haveged-dracut.module @@ -16,9 +16,11 @@ installkernel() { install() { inst_multiple -o \ /usr/sbin/haveged \ - $systemdsystemunitdir/haveged.service + $systemdsystemunitdir/haveged.service \ + $systemdsystemunitdir/haveged-switch-root.service mkdir -p "$initdir/$systemdsystemunitdir/sysinit.target.wants" mkdir -p "$initdir/$systemdsystemunitdir/initrd-switch-root.target.wants" mkdir -p "$initdir/$systemdsystemunitdir/systemd-journald.service.wants" ln_r "$systemdsystemunitdir/haveged.service" "$systemdsystemunitdir/systemd-journald.service.wants/haveged.service" + ln_r "$systemdsystemunitdir/haveged-switch-root.service" "$systemdsystemunitdir/initrd-switch-root.target.wants/haveged-switch-root.service" } |