summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-resolved/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/01systemd-resolved/module-setup.sh')
-rwxr-xr-xmodules.d/01systemd-resolved/module-setup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules.d/01systemd-resolved/module-setup.sh b/modules.d/01systemd-resolved/module-setup.sh
index 0c2e8c2..b354bc6 100755
--- a/modules.d/01systemd-resolved/module-setup.sh
+++ b/modules.d/01systemd-resolved/module-setup.sh
@@ -31,6 +31,8 @@ install() {
inst_simple "$moddir/resolved-tmpfile-dracut.conf" "$tmpfilesdir/resolved-tmpfile-dracut.conf"
+ inst_sysusers systemd-resolve.conf
+
inst_multiple -o \
"$dbussystem"/org.freedesktop.resolve1.conf \
"$dbussystemservices"/org.freedesktop.resolve1.service \
@@ -40,7 +42,6 @@ install() {
"$systemdutildir"/systemd-resolved \
"$systemdsystemunitdir"/systemd-resolved.service \
"$systemdsystemunitdir/systemd-resolved.service.d/*.conf" \
- "$sysusers"/systemd-resolve.conf \
resolvectl
# Enable systemd type unit(s)
@@ -52,7 +53,6 @@ install() {
"$systemdutilconfdir"/resolved.conf \
"$systemdutilconfdir/resolved.conf.d/*.conf" \
"$systemdsystemconfdir"/systemd-resolved.service \
- "$systemdsystemconfdir/systemd-resolved.service.d/*.conf" \
- "$sysusersconfdir"/systemd-resolve.conf
+ "$systemdsystemconfdir/systemd-resolved.service.d/*.conf"
fi
}