Skip to content

Commit

Permalink
perf(systemd-initrd): initrd.target is already the default
Browse files Browse the repository at this point in the history
Avoid creating an extra symlink under /etc inside the
generated initrd.

initrd.target is already the default.
  • Loading branch information
jozzsi authored and LaszloGombos committed Sep 11, 2024
1 parent 1000265 commit b7b4f03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules.d/01systemd-initrd/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,4 @@ install() {
"$systemdsystemunitdir"/initrd-cleanup.service \
"$systemdsystemunitdir"/initrd-udevadm-cleanup-db.service \
"$systemdsystemunitdir"/initrd-parse-etc.service

$SYSTEMCTL -q --root "$initdir" set-default initrd.target
}

0 comments on commit b7b4f03

Please sign in to comment.