slitaz-boot-scripts diff etc/init.d/hwconf.sh @ rev 84
hwconf.sh: realy retry network connection after PCI detection
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 15 21:49:07 2008 +0200 (2008-05-15) |
parents | 95e5de419e64 |
children | f1f2677d464a |
line diff
1.1 --- a/etc/init.d/hwconf.sh Tue May 13 03:10:27 2008 +0200 1.2 +++ b/etc/init.d/hwconf.sh Thu May 15 21:49:07 2008 +0200 1.3 @@ -37,7 +37,8 @@ 1.4 sed -i s/"LOAD_MODULES=\"$LOAD_MODULES\""/"LOAD_MODULES=\"$load\""/ \ 1.5 /etc/rcS.conf 1.6 # Retry a network connection with DHCP. 1.7 - if ! `ifconfig -a | grep -q "eth0"`; then 1.8 + if ifconfig -a | grep -q "eth0"; then 1.9 + killall udhcpc 1.10 echo "Starting udhcpc client on: eth0... " 1.11 /sbin/udhcpc -b -i eth0 -p /var/run/udhcpc.eth0.pid 1.12 fi