summaryrefslogtreecommitdiffstats
path: root/loader/devices.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-04-06 20:46:31 +0000
committerMike Fulbright <msf@redhat.com>2000-04-06 20:46:31 +0000
commit16e95109fe6c35ab27b7a5735820926c6b103c48 (patch)
tree9e1f436504c3a89e0a2d229fdc0642ecebf3065a /loader/devices.c
parent5b7db03a00ac67fa0f5170b68fface0d88568251 (diff)
downloadanaconda-16e95109fe6c35ab27b7a5735820926c6b103c48.tar.gz
anaconda-16e95109fe6c35ab27b7a5735820926c6b103c48.tar.xz
anaconda-16e95109fe6c35ab27b7a5735820926c6b103c48.zip
Bill's patch to prompt before asking for driver disk
Diffstat (limited to 'loader/devices.c')
-rw-r--r--loader/devices.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader/devices.c b/loader/devices.c
index ff2e13e52..9b9fb858a 100644
--- a/loader/devices.c
+++ b/loader/devices.c
@@ -169,6 +169,13 @@ int devLoadDriverDisk(moduleInfoSet modInfo, moduleList modLoaded,
int done = 0;
do {
+ if (FL_EXPERT(flags)) {
+ rc = newtWinChoice(_("Devices"), _("Yes"),
+ _("No"),
+ _("Do you have a driver disk?"));
+ if (rc == 2) return LOADER_BACK;
+ }
+
rc = newtWinChoice(_("Devices"), _("OK"),
cancelNotBack ? _("Cancel") : _("Back"),
_("Insert your driver disk and press \"OK\" to continue."));