chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5a6225f
)
util: add Arch welcome message
author
Tom Gundersen
<teg@jklm.no>
Mon, 13 Sep 2010 16:27:36 +0000
(18:27 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 13 Sep 2010 17:19:54 +0000
(19:19 +0200)
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.
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index b4beb2d796e4b0f9103da8110da65012a015b64f..93f982e8bcabd07436ec5a3306cef12f311d2466 100644
(file)
--- 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