summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dhcp.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-14 21:45:51 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-14 21:45:51 +0000
commit12cf594c688f3bc3e0b26d35305d5d6db7036fc4 (patch)
tree0283a91a17833dd4fa5b34f0f8d23385897e6e5e /mdk-stage1/dhcp.c
parent5b8df1c12f64badfa04f9dd4dfd5f4045559d73e (diff)
downloaddrakx-backup-do-not-use-12cf594c688f3bc3e0b26d35305d5d6db7036fc4.tar
drakx-backup-do-not-use-12cf594c688f3bc3e0b26d35305d5d6db7036fc4.tar.gz
drakx-backup-do-not-use-12cf594c688f3bc3e0b26d35305d5d6db7036fc4.tar.bz2
drakx-backup-do-not-use-12cf594c688f3bc3e0b26d35305d5d6db7036fc4.tar.xz
drakx-backup-do-not-use-12cf594c688f3bc3e0b26d35305d5d6db7036fc4.zip
Have the wait_message() with the sleep()
Diffstat (limited to 'mdk-stage1/dhcp.c')
-rw-r--r--mdk-stage1/dhcp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c
index 9edae172d..230e8757b 100644
--- a/mdk-stage1/dhcp.c
+++ b/mdk-stage1/dhcp.c
@@ -175,8 +175,11 @@ static int initial_setup_interface(char * device, int s) {
}
/* I need to sleep a bit in order for kernel to finish init of the
- network device */
+ network device; this would allow to not send further multiple
+ dhcp requests when only one is needed. */
+ wait_message("Bringing up networking...");
sleep(2);
+ remove_wait_message();
return 0;
}