summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/modules.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-07 20:18:21 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-07 20:18:21 +0000
commit13e551b64c1c3cd1c6a2025dd9328f908b9f3f39 (patch)
treeb61c877d6c93222ced93769aa9845a73d51d0fea /mdk-stage1/modules.c
parent57f0c1abdba4b36f2b29477643873b606e17feb2 (diff)
downloaddrakx-backup-do-not-use-13e551b64c1c3cd1c6a2025dd9328f908b9f3f39.tar
drakx-backup-do-not-use-13e551b64c1c3cd1c6a2025dd9328f908b9f3f39.tar.gz
drakx-backup-do-not-use-13e551b64c1c3cd1c6a2025dd9328f908b9f3f39.tar.bz2
drakx-backup-do-not-use-13e551b64c1c3cd1c6a2025dd9328f908b9f3f39.tar.xz
drakx-backup-do-not-use-13e551b64c1c3cd1c6a2025dd9328f908b9f3f39.zip
- use description of network cards when you have to select between interfaces; has accuracy even in the case of multiple interface for a given kernel module
- write down a small "shell" to change parameters on the fly (needs compile option SPAWN_INTERACTIVE)
Diffstat (limited to 'mdk-stage1/modules.c')
-rw-r--r--mdk-stage1/modules.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c
index 3f9647a35..fe55ff15f 100644
--- a/mdk-stage1/modules.c
+++ b/mdk-stage1/modules.c
@@ -267,6 +267,8 @@ int my_insmod(const char * mod_name, enum driver_type type, char * options)
sprintf(alias, "alias %s %s", *new_net_devices, mod_name);
add_modules_conf(alias);
log_message("NET: %s", alias);
+ net_discovered_interface(*new_net_devices);
+
already_present:
new_net_devices++;
}