2010/9/11 Santi <[email protected]>: > Properly order these units so that the a partition is not mount > before the fsck is done in a Debian system.
Hi Santi, as already said on IRC, I'm curious why you get this error but I can't reproduce it although I have a separate /home myself. I'm using a pristine git snapshot. and only this patch applied on top (it is also in tollefs debian git branch). Would you mind testing it? Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
From b55cc2ad30dc9643d4f951f8c33f3d7513b70195 Mon Sep 17 00:00:00 2001 From: Michael Biebl <[email protected]> Date: Wed, 8 Sep 2010 18:00:26 +0200 Subject: [PATCH] Add a status text in red for Debian. --- src/util.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/util.c b/src/util.c index 0cd1fd3..5c7c671 100644 --- a/src/util.c +++ b/src/util.c @@ -2835,6 +2835,17 @@ void status_welcome(void) { status_printf("Welcome to \x1B[0;32m%s\x1B[0m!\n", r); /* Green for SUSE */ free(r); + +#elif defined(TARGET_DEBIAN) + char *r; + + if (read_one_line_file("/etc/debian_version", &r) < 0) + return; + + truncate_nl(r); + + status_printf("Welcome to \x1B[0;31m%s\x1B[0m!\n", r); /* Red for Debian */ + free(r); #else #warning "You probably should add a welcome text logic here." #endif -- 1.7.1
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
