X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Futil.c;h=08bdec223eda8f2bebd6d345050c49aca74b40b3;hb=60b4f27794f3f3b5bd1c67b42d09eb4c21838aed;hp=60af4fe60d4dfce08e66a92632e30dbada029d3f;hpb=a247755d5221411ffe7780677b270963682dadd1;p=elogind.git diff --git a/src/util.c b/src/util.c index 60af4fe60..08bdec223 100644 --- a/src/util.c +++ b/src/util.c @@ -3079,13 +3079,6 @@ void status_welcome(void) { if (!ansi_color) const_color = "0;33"; /* Orange/Brown for Ubuntu */ -#elif defined(TARGET_ARCH) - - if (!pretty_name) - const_pretty = "Arch Linux"; - - if (!ansi_color) - const_color = "1;36"; /* Cyan for Arch */ #endif if (!pretty_name && !const_pretty) @@ -3386,6 +3379,8 @@ int wait_for_terminate_and_warn(const char *name, pid_t pid) { } void freeze(void) { + sync(); + for (;;) pause(); } @@ -3526,7 +3521,7 @@ const char *default_term_for_tty(const char *tty) { /* FIXME: Proper handling of /dev/console would be cool */ - return "TERM=vt100-nav"; + return "TERM=vt100"; } static const char *const ioprio_class_table[] = {