From 363469d757a00b5a7142235433a973b2d1be2309 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 19 Mar 2015 10:00:48 +0100 Subject: [PATCH] base/module-setup.sh: merge systemd conditional --- modules.d/99base/module-setup.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh index a1046af809..fd65cdf6ca 100755 --- a/modules.d/99base/module-setup.sh +++ b/modules.d/99base/module-setup.sh @@ -43,15 +43,11 @@ install() { mkdir -p ${initdir}/tmp inst_simple "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh" + mkdir -p "${initdir}/var" if ! dracut_module_included "systemd"; then inst_multiple switch_root || dfatal "Failed to install switch_root" inst_hook cmdline 10 "$moddir/parse-root-opts.sh" - fi - - mkdir -p "${initdir}/var" - - if ! dracut_module_included "systemd"; then inst_multiple -o $systemdutildir/systemd-timestamp fi