|
|
712866 |
From 834f33440ff9890235908c46d1d24f4f72f0739c Mon Sep 17 00:00:00 2001
|
|
|
712866 |
From: Harald Hoyer <harald@redhat.com>
|
|
|
712866 |
Date: Fri, 17 Jan 2014 14:01:57 +0100
|
|
|
712866 |
Subject: [PATCH] systemd/module-setup.sh: make use of "ln_r"
|
|
|
712866 |
|
|
|
712866 |
---
|
|
|
712866 |
modules.d/98systemd/module-setup.sh | 6 +++---
|
|
|
712866 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
712866 |
|
|
|
712866 |
diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
|
|
|
5c6c2a |
index a99c699d..511b883f 100755
|
|
|
712866 |
--- a/modules.d/98systemd/module-setup.sh
|
|
|
712866 |
+++ b/modules.d/98systemd/module-setup.sh
|
|
|
712866 |
@@ -160,15 +160,15 @@ install() {
|
|
|
712866 |
egrep '^systemd-journal:' "$initdir/etc/passwd" 2>/dev/null >> "$initdir/etc/passwd"
|
|
|
712866 |
egrep '^systemd-journal:' /etc/group >> "$initdir/etc/group"
|
|
|
712866 |
|
|
|
712866 |
- ln -fs $systemdutildir/systemd "$initdir/init"
|
|
|
712866 |
- ln -fs $systemdutildir/systemd "$initdir/sbin/init"
|
|
|
712866 |
+ ln_r $systemdutildir/systemd "/init"
|
|
|
712866 |
+ ln_r $systemdutildir/systemd "/sbin/init"
|
|
|
712866 |
|
|
|
712866 |
inst_script "$moddir/dracut-emergency.sh" /bin/dracut-emergency
|
|
|
712866 |
inst_simple "$moddir/emergency.service" ${systemdsystemunitdir}/emergency.service
|
|
|
712866 |
inst_simple "$moddir/dracut-emergency.service" ${systemdsystemunitdir}/dracut-emergency.service
|
|
|
712866 |
inst_simple "$moddir/emergency.service" ${systemdsystemunitdir}/rescue.service
|
|
|
712866 |
|
|
|
712866 |
- ln -fs initrd.target "${initdir}${systemdsystemunitdir}/default.target"
|
|
|
712866 |
+ ln_r "${systemdsystemunitdir}/initrd.target" "${systemdsystemunitdir}/default.target"
|
|
|
712866 |
|
|
|
712866 |
inst_script "$moddir/dracut-cmdline.sh" /bin/dracut-cmdline
|
|
|
712866 |
inst_script "$moddir/dracut-pre-udev.sh" /bin/dracut-pre-udev
|