]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-systemd/module-setup.sh: remove duplicate vconsole wants
authorHarald Hoyer <harald@redhat.com>
Wed, 11 Nov 2015 11:16:13 +0000 (12:16 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Nov 2015 11:16:13 +0000 (12:16 +0100)
Adding the dependency on vconsole is already done in the 00systemd
module and the rescue.service has this already in the unit file.

modules.d/98dracut-systemd/module-setup.sh

index d9175573c777565cd8158623467b7a413c50bbd1..900162c3eeef8c0c1d442539822c34f5e5fcb824 100755 (executable)
@@ -43,17 +43,6 @@ install() {
 
     inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator
 
-    for i in \
-        emergency.target \
-        rescue.service \
-        systemd-ask-password-console.service \
-        systemd-ask-password-plymouth.service \
-        ; do
-        mkdir -p "${initdir}${systemdsystemunitdir}/${i}.wants"
-        ln_r "${systemdsystemunitdir}/systemd-vconsole-setup.service" \
-            "${systemdsystemunitdir}/${i}.wants/systemd-vconsole-setup.service"
-    done
-
     mkdir -p "${initdir}/$systemdsystemunitdir/initrd.target.wants"
     for i in \
         dracut-cmdline.service \