aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox/busybox-1.3.1/udhcpscript.patch
blob: fc21d440cd57cc0184998ca65718e885c58b8602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- busybox-1.00-rc3/examples/udhcp/simple.script~udhcpscript
+++ busybox-1.00-rc3/examples/udhcp/simple.script
@@ -17,8 +17,7 @@
 		/sbin/ifconfig $interface $ip $BROADCAST $NETMASK
 
 		if [ -n "$router" ] ; then
-			echo "deleting routers"
-			while route del default gw 0.0.0.0 dev $interface ; do
+			while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
 				:
 			done