mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
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:
parent
2b9a268f29
commit
ce2867352d
@ -40,7 +40,7 @@ case "$1" in
|
|||||||
|
|
||||||
if [ -n "$router" ] ; then
|
if [ -n "$router" ] ; then
|
||||||
echo "deleting routers"
|
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
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user