summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorhosokawa <hosokawa@FreeBSD.org>2000-01-14 17:18:42 +0000
committerhosokawa <hosokawa@FreeBSD.org>2000-01-14 17:18:42 +0000
commit4bd1823943245a306414675eb42c0612ec8320a9 (patch)
treea3955e819b9c5f2968583940590da9499a8999ed /usr.sbin/sysinstall
parent39da78bb33cd9dd59b6d989aa5d7656206fd6adc (diff)
downloadFreeBSD-src-4bd1823943245a306414675eb42c0612ec8320a9.zip
FreeBSD-src-4bd1823943245a306414675eb42c0612ec8320a9.tar.gz
Enable pccardd when the system is installed with PC-card support.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/pccard.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/pccard.c b/usr.sbin/sysinstall/pccard.c
index 8d8c3ea..afa9fe5 100644
--- a/usr.sbin/sysinstall/pccard.c
+++ b/usr.sbin/sysinstall/pccard.c
@@ -165,8 +165,10 @@ pccardInitialize(void)
strcat(pccardd_cmd, card_irq);
strcat(pccardd_cmd, " -z");
- strcpy(pccardd_flags, card_irq);
+ variable_set2("pccard_enable", "YES", 1);
+
variable_set2("pccardd_flags", card_irq, 1);
+ strcpy(pccardd_flags, card_irq);
vsystem(pccardd_cmd);
restorescr(w);
OpenPOWER on IntegriCloud