summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-09-15 16:56:33 +0200
committerJonathan Bauer2020-09-15 16:56:33 +0200
commitc5de80d434f49c59db242245aa1606960cea9f50 (patch)
tree538657d3436611d6de07ce02eef87b07db0a5fdc
parentupdate emergency_shell patch (diff)
downloadsystemd-init-c5de80d434f49c59db242245aa1606960cea9f50.tar.gz
systemd-init-c5de80d434f49c59db242245aa1606960cea9f50.tar.xz
systemd-init-c5de80d434f49c59db242245aa1606960cea9f50.zip
[haveged] move haveged start to basic.target
-rw-r--r--modules.d/haveged/module-setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/haveged/module-setup.sh b/modules.d/haveged/module-setup.sh
index d3183dbe..6cd1e1b8 100644
--- a/modules.d/haveged/module-setup.sh
+++ b/modules.d/haveged/module-setup.sh
@@ -36,6 +36,6 @@ install() {
mkdir -p "$initdir/${haveged_env_file%/*}" 2>/dev/null
cp "$haveged_env_file" "$initdir/$haveged_env_file"
fi
- mkdir "$initdir/$systemdsystemunitdir/sysinit.target.wants" 2>/dev/null
- ln_r "$systemdsystemunitdir/haveged.service" "$systemdsystemunitdir/sysinit.target.wants/haveged.service"
+ mkdir -p "$initdir/$systemdsystemunitdir/basic.target.wants" 2>/dev/null
+ ln_r "$systemdsystemunitdir/haveged.service" "$systemdsystemunitdir/basic.target.wants/haveged.service"
}