busybox: udhcpc script: suppress useless error message

Suppress the following error:

route: SIOCDELRT: No such process

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Baruch Siach 2014-01-16 09:58:33 +02:00 committed by Peter Korsgaard
parent 2b9a268f29
commit ce2867352d
1 changed files with 1 additions and 1 deletions

View File

@ -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