summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-11 09:51:40 +0200
committerSimon Rettberg2024-06-11 09:51:40 +0200
commit9ab53a80961c6f3866a21704ad78235e4d061458 (patch)
tree0bc3026fad00ffa4ef9b9f60b7430ef9f8067db1
parentUpdate example config some more: unused vars, wrong syntax (diff)
downloadsystemd-init-9ab53a80961c6f3866a21704ad78235e4d061458.tar.gz
systemd-init-9ab53a80961c6f3866a21704ad78235e4d061458.tar.xz
systemd-init-9ab53a80961c6f3866a21704ad78235e4d061458.zip
Fix misleading message
/dev/mapper/root is configurable, so don't hard-code it in service description.
-rwxr-xr-xmodules.d/dnbd3-rootfs/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/dnbd3-rootfs/module-setup.sh b/modules.d/dnbd3-rootfs/module-setup.sh
index 594e3380..33ab065a 100755
--- a/modules.d/dnbd3-rootfs/module-setup.sh
+++ b/modules.d/dnbd3-rootfs/module-setup.sh
@@ -155,7 +155,7 @@ install() {
--wbefore "dracut-mount.service" \
--wbefore "initrd-root-device.target"
# Mount the root file system
- slx_service "s3-mount-root" "Mount /dev/mapper/root as /sysroot" \
+ slx_service "s3-mount-root" "Mount /sysroot" \
--after "initrd-root-device.target" \
--requires "initrd-root-device.target" \
--wbefore "initrd-root-fs.target"