From: Tom Gundersen Date: Mon, 13 Sep 2010 16:27:36 +0000 (+0200) Subject: util: add Arch welcome message X-Git-Tag: v10~15 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=17dbb83deef352bbea93b4143cc6c38dbce707be 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 b4beb2d79..93f982e8b 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