]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
usrmount: in systemd mode, functionality is in systemd
authorHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 16:06:15 +0000 (17:06 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 6 Mar 2013 16:29:12 +0000 (17:29 +0100)
modules.d/98usrmount/module-setup.sh

index 69d22d892f0c8d94ee5effa7e3302da1d2f36226..5d81d152a7137c9a8ffd1c467480bdc86d1b9bb6 100755 (executable)
@@ -12,6 +12,9 @@ depends() {
 }
 
 install() {
-    inst_hook pre-pivot 50 "$moddir/mount-usr.sh"
+    if ! dracut_module_included "systemd"; then
+        inst_hook pre-pivot 50 "$moddir/mount-usr.sh"
+    fi
+    :
 }