summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-10-04 18:41:49 +0000
committerErik Troan <ewt@redhat.com>2000-10-04 18:41:49 +0000
commit4b64f6c867e6ef7bc4b2ba851f9ee1347d3c77de (patch)
treefca6d99024f2094c8a7f16f65b087f6065614ece
parent8eb6d66247715be4e1841822a426ddef0fe87ee4 (diff)
downloadanaconda-4b64f6c867e6ef7bc4b2ba851f9ee1347d3c77de.tar.gz
anaconda-4b64f6c867e6ef7bc4b2ba851f9ee1347d3c77de.tar.xz
anaconda-4b64f6c867e6ef7bc4b2ba851f9ee1347d3c77de.zip
TERM changes for ja
-rw-r--r--loader/loader.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 6c5acd0e0..471ab4990 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2377,9 +2377,11 @@ int main(int argc, char ** argv) {
#ifdef INCLUDE_KON
else if (!strcmp(argv[0] + strlen(argv[0]) - 3, "kon")) {
+ setenv("TERM", "kon", 1);
i = kon_main(argc, argv);
return i;
} else if (!strcmp(argv[0] + strlen(argv[0]) - 8, "continue")) {
+ setenv("TERM", "kon", 1);
continuing = 1;
}
#endif
@@ -2476,9 +2478,20 @@ int main(int argc, char ** argv) {
kdFindScsiList(&kd, 0);
kdFindNetList(&kd, 0);
#else
+ /* if we're in PCMCIA, we're always going to pass the PCMCIA code
+ to the probe */
+# ifdef INCLUDE_PCMCIA
kdFindIdeList(&kd, CODE_PCMCIA);
kdFindScsiList(&kd, CODE_PCMCIA);
kdFindNetList(&kd, CODE_PCMCIA);
+# else
+ /* but if we're not in PCMCIA, there is a chance that we were run in
+ kon mode which means that the probes were done and modules were
+ inserted, but they're *not* PCMCIA */
+ kdFindIdeList(&kd, continuing ? 0 : CODE_PCMCIA);
+ kdFindScsiList(&kd, continuing ? 0 : CODE_PCMCIA);
+ kdFindNetList(&kd, continuing ? 0 : CODE_PCMCIA);
+# endif
#endif
if (!continuing) {