From fe654ff0aa3066a2232ba9b9fb729bd5b919500e Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 6 Mar 2013 17:06:15 +0100 Subject: usrmount: in systemd mode, functionality is in systemd --- modules.d/98usrmount/module-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh index 69d22d89..5d81d152 100755 --- a/modules.d/98usrmount/module-setup.sh +++ b/modules.d/98usrmount/module-setup.sh @@ -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 + : } -- cgit v1.2.3