[Fai-commit] r4006 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Fri Sep 22 13:05:09 UTC 2006
Author: lange
Date: 2006-09-22 13:05:09 +0000 (Fri, 22 Sep 2006)
New Revision: 4006
Modified:
trunk/lib/get-boot-info
Log:
fix duplicate call of get_dhcp_info()
Modified: trunk/lib/get-boot-info
===================================================================
--- trunk/lib/get-boot-info 2006-09-22 09:41:40 UTC (rev 4005)
+++ trunk/lib/get-boot-info 2006-09-22 13:05:09 UTC (rev 4006)
@@ -122,7 +122,7 @@
boot=0
dmesg | grep -q "Sending DHCP requests" && get_dhcp_info
dmesg | grep -q "Sending BOOTP requests" && get_bootp_info
-[ "$ip" == "dhcp" ] && get_dhcp_info
+[ $boot -eq 0 -a "$ip" = "dhcp" ] && get_dhcp_info
if [ $boot -eq 0 ]; then
get_fixed_info
More information about the Fai-commit
mailing list