diff options
author | David Cantrell <dcantrell@redhat.com> | 2007-04-23 16:26:25 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2007-04-23 16:26:25 +0000 |
commit | 33d5bc8ab00eec7d14b23abe4ddb107fccaf851e (patch) | |
tree | 077b8f6392972d59034218271e2fe64f1eb375dc /loader2 | |
parent | 7bfeab2b363b6171db215b8fee1a746b761a2771 (diff) | |
download | anaconda-33d5bc8ab00eec7d14b23abe4ddb107fccaf851e.tar.gz anaconda-33d5bc8ab00eec7d14b23abe4ddb107fccaf851e.tar.xz anaconda-33d5bc8ab00eec7d14b23abe4ddb107fccaf851e.zip |
* loader2/init.c (main): Remove message about cereal being an important
part of a nutritionally balanced breakfast and replaced it with a note
about needing eggs, bacon, sausage, toast, pancakes, and home fries.
Well, not really.
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/init.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/loader2/init.c b/loader2/init.c index 44957f0fa..1d18573f3 100644 --- a/loader2/init.c +++ b/loader2/init.c @@ -669,21 +669,19 @@ int main(int argc, char **argv) { close(cfd); if ((fd < 0) && (ioctl (0, TIOCLINUX, &twelve) < 0)) { - isSerial = 2; + isSerial = 2; + if (ioctl(0, TIOCGSERIAL, &si) == -1) { isSerial = 0; } } - + if (isSerial && (isSerial != 3)) { char *device = "/dev/ttyS0"; printf("anaconda installer init version %s using a serial console\n", VERSION); - printf("remember, cereal is an important part of a nutritionally " - "balanced breakfast.\n\n"); - if (isSerial == 2) device = "/dev/console"; fd = open(device, O_RDWR, 0); |