summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-09-23 14:59:02 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-23 15:10:53 +0200
commit32e276708089110243682d8aaa3d58075b91f0d6 (patch)
tree44a32b969266f7dfe9529f31e79046e78ca7e474 /src/hostname
parentaddc84ec9184094db4439006e8a3b955b6387f74 (diff)
downloadsystemd-32e276708089110243682d8aaa3d58075b91f0d6.tar.gz
tree-wide: use the term "initrd" at most places we so far used "initramfs"
In most cases we refernced the concept as "initrd". Let's convert most remaining uses of "initramfs" to "initrd" too, to stay internally consistent. This leaves "initramfs" only where it's relevant to explain historical concepts or where "initramfs" is part of the API (i.e. in /run/initramfs). Follow-up for: b66a6e1a5838b874b789820c090dd6850cf10513
Diffstat (limited to 'src/hostname')
-rw-r--r--src/hostname/hostnamed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index d59c783dbc..486b093062 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -706,8 +706,8 @@ static void context_determine_hostname_source(Context *c) {
/* If the hostname was not set by us, try to figure out where it came from. If we set it to
* the default hostname, the file will tell us. We compare the string because it is possible
- * that the hostname was set by an older version that had a different fallback, in the
- * initramfs or before we reexecuted. */
+ * that the hostname was set by an older version that had a different fallback, in the initrd
+ * or before we reexecuted. */
r = read_one_line_file("/run/systemd/default-hostname", &fallback);
if (r < 0 && r != -ENOENT)