Index: network
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/Nintendo/common/rc.d/network,v
retrieving revision 1.7
diff -u -r1.7 network
--- network	19 Mar 2006 13:06:32 -0000	1.7
+++ network	19 Jun 2006 08:36:22 -0000
@@ -10,17 +10,20 @@
 			echo "Configuring wireless interface:"
 			echo "ESSID:    $essid"
 			iwconfig nds essid $essid
+			sleep 1
 			
 			if [ -n "$channel" ]
 			then 
 				echo "Channel:  $channel"
 				iwconfig nds channel $channel
+				sleep 1
 			fi
 
 			if [ -n "$wepkey" ]
 			then
 				echo "Setting wepkey."
 				iwconfig nds key $wepkey
+				sleep 1
 			fi
 		else
 			echo "Not configuring network:"
@@ -30,6 +33,7 @@
 
 		# configure the interface
 		ifconfig nds down
+		sleep 1
 		if [ "$use_dhcp" = "YES" ]
 		then
 			echo "Configuring network via DHCP."
@@ -44,6 +48,7 @@
 			echo "IP:        $ip"
 			echo "Gateway:   $gateway"
 			ifconfig nds $ip up
+			sleep 1
 			route add default gw $gateway
 
 			# Let users optionally configure netmask and broadcast.
@@ -52,10 +57,12 @@
 			if [ -n "$netmask" ]
 				echo "Netmask:   $netmask"
 				ifconfig nds netmask $netmask
+				sleep 1
 			fi
 			if [ -n "$broadcast" ]
 				echo "Broadcast: $broadcast"
 				ifconfig nds broadcast $broadcast
+				sleep 1
 			fi
 		else
 			echo "Not configuring network:"
@@ -68,6 +75,7 @@
 	stop)
 		echo "Stopping network."
 		ifconfig nds down
+		sleep 1
 		kill `pidof udhcpc` 2> /dev/null
 	;;	
 	restart)
