summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-07-02 11:38:32 +0200
committerLennart Poettering <lennart@poettering.net>2012-07-02 11:38:32 +0200
commit26a1efdf61b462d0fff440a558a96f5cd184920c (patch)
tree2afddb617ce47c8b448a9e4c50ec1be675c953b6 /src/core/main.c
parentb5b4c94a67d90891a0225af0e08cf45dbc329377 (diff)
core: mention if we are run from an initial RAM disk
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/main.c b/src/core/main.c
index fc60fb398e..6a2dbc2f54 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1439,6 +1439,9 @@ int main(int argc, char *argv[]) {
if (virtualization)
log_info("Detected virtualization '%s'.", virtualization);
+ if (in_initrd())
+ log_info("Running in initial RAM disk.");
+
} else
log_debug(PACKAGE_STRING " running in user mode. (" SYSTEMD_FEATURES "; " DISTRIBUTION ")");