summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-resolved/module-setup.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:33:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:33:11 +0000
commit203af7302854f453fa4a05ecefd4403b6c8a4f8d (patch)
tree967fdacafe332baabd12b57725505c138d0f3bbf /modules.d/01systemd-resolved/module-setup.sh
parentAdding upstream version 102. (diff)
downloaddracut-upstream.tar.xz
dracut-upstream.zip
Adding upstream version 103.upstream/103upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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
}