[systemd-commits] src/util.c

Lennart Poettering lennart at kemper.freedesktop.org
Mon Sep 13 10:20:50 PDT 2010


 src/util.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 17dbb83deef352bbea93b4143cc6c38dbce707be
Author: Tom Gundersen <teg at jklm.no>
Date:   Mon Sep 13 18:27:36 2010 +0200

    util: add Arch welcome message
    
    Arch has no release name, so juts prints 'Welcome to Arch Linux!'.
    The color is the same as used by Arch's native rc.sysinit.

diff --git a/src/util.c b/src/util.c
index b4beb2d..93f982e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -2859,6 +2859,8 @@ void status_welcome(void) {
 	status_printf("Welcome to Debian \x1B[1;31m%s\x1B[0m!\n", r); /* Light Red for Debian */
 
 	free(r);
+#elif defined(TARGET_ARCH)
+	status_printf("Welcome to \x1B[1;36mArch Linux\x1B[0m!\n"); /* Cyan for Arch */
 #else
 #warning "You probably should add a welcome text logic here."
 #endif


More information about the systemd-commits mailing list