Skip to content

Commit

Permalink
base/module-setup.sh: merge systemd conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Mar 19, 2015
1 parent dea0634 commit 363469d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules.d/99base/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 363469d

Please sign in to comment.