From ce2867352dfa0bbd2830ba70fcee7499a4e7252b Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Thu, 16 Jan 2014 09:58:33 +0200 Subject: [PATCH] busybox: udhcpc script: suppress useless error message Suppress the following error: route: SIOCDELRT: No such process Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- package/busybox/udhcpc.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/busybox/udhcpc.script b/package/busybox/udhcpc.script index 9e08dadf5f..e23d1f1e0f 100755 --- a/package/busybox/udhcpc.script +++ b/package/busybox/udhcpc.script @@ -40,7 +40,7 @@ case "$1" in 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 -- 2.30.2