From 4bd1823943245a306414675eb42c0612ec8320a9 Mon Sep 17 00:00:00 2001 From: hosokawa Date: Fri, 14 Jan 2000 17:18:42 +0000 Subject: [PATCH] Enable pccardd when the system is installed with PC-card support. --- release/sysinstall/pccard.c | 4 +++- usr.sbin/sysinstall/pccard.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/release/sysinstall/pccard.c b/release/sysinstall/pccard.c index 8d8c3ea315e1..afa9fe5ac315 100644 --- a/release/sysinstall/pccard.c +++ b/release/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); diff --git a/usr.sbin/sysinstall/pccard.c b/usr.sbin/sysinstall/pccard.c index 8d8c3ea315e1..afa9fe5ac315 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);