diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-01-16 09:58:33 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-16 09:14:34 +0100 |
commit | ce2867352dfa0bbd2830ba70fcee7499a4e7252b (patch) | |
tree | 58443ac6d534f74230618af672b653d15ec860e9 /package/busybox/udhcpc.script | |
parent | 2b9a268f29af8283c789bf68f7fc3b98c5ec747e (diff) | |
download | buildroot-ce2867352dfa0bbd2830ba70fcee7499a4e7252b.tar.gz buildroot-ce2867352dfa0bbd2830ba70fcee7499a4e7252b.zip |
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>
Diffstat (limited to 'package/busybox/udhcpc.script')
-rwxr-xr-x | package/busybox/udhcpc.script | 2 |
1 files changed, 1 insertions, 1 deletions
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 |