diff options
author | hosokawa <hosokawa@FreeBSD.org> | 1999-07-04 15:54:14 +0000 |
---|---|---|
committer | hosokawa <hosokawa@FreeBSD.org> | 1999-07-04 15:54:14 +0000 |
commit | 915ad17a17b7dc94fcab2b89c25b882cf282ea9a (patch) | |
tree | 5a18d034f88e8476138d4f2a3769901cb941b859 /release/sysinstall | |
parent | 1f3f20e6c089b818d78a2f9f59b37f6b6dec8eef (diff) | |
download | FreeBSD-src-915ad17a17b7dc94fcab2b89c25b882cf282ea9a.zip FreeBSD-src-915ad17a17b7dc94fcab2b89c25b882cf282ea9a.tar.gz |
configure "pccardd_flags" in /etc/rc.conf by sysinstall.
Diffstat (limited to 'release/sysinstall')
-rw-r--r-- | release/sysinstall/pccard.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/release/sysinstall/pccard.c b/release/sysinstall/pccard.c index 6347a00..4c122d8 100644 --- a/release/sysinstall/pccard.c +++ b/release/sysinstall/pccard.c @@ -71,6 +71,7 @@ pccardInitialize(void) char *card_irq = ""; char *spcic_mem; char *scard_irq; + char pccardd_flags[128]; char pccardd_cmd[256]; pccard_mode = 1; @@ -109,13 +110,13 @@ pccardInitialize(void) switch (t) { case 0: - card_irq = " -i 10 -i 11 "; + card_irq = "-i 10 -i 11"; break; case 1: - card_irq = " -i 5 -i 11 "; + card_irq = "-i 5 -i 11"; break; case 2: - card_irq = " -i 11 "; + card_irq = "-i 11"; break; } @@ -150,6 +151,10 @@ pccardInitialize(void) strcpy(pccardd_cmd, "/stand/pccardd "); strcat(pccardd_cmd, card_irq); strcat(pccardd_cmd, " -z"); + + strcpy(pccardd_flags, card_irq); + variable_set2("pccardd_flags", card_irq, 1); + vsystem(pccardd_cmd); } |