summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/netctl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netctl.in b/src/netctl.in
index e9325e3..51ffe02 100644
--- a/src/netctl.in
+++ b/src/netctl.in
@@ -121,6 +121,7 @@ unit_enable() {
printf 'After="netctl@%s.service"\n' \
$(sd_escape "${After[@]}") >> "$unit"
fi
+ mkdir -p "@systemdsystemconfdir@/multi-user.target.wants"
echo "ln -s '$unit' '${unit/system\//system/multi-user.target.wants/}'"
ln -s "$unit" "${unit/system\//system/multi-user.target.wants/}"
systemctl daemon-reload