style/script: remove unnecessary trailing whitespace

N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-11-28 14:51:35 +08:00 committed by Abdelatif Guettouche
parent 049c991d28
commit e5f5f6657d
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
#****************************************************************************
# Helper script to set up host route to NuttX simulator
# and set up IP Tables to allow it to access the
# and set up IP Tables to allow it to access the
# internet.
#
# This script needs to be run as root.
@ -51,7 +51,7 @@ if [ "$STATUS" == "on" ]; then
ifconfig $IF_BRIDGE $IP_HOST
ifconfig $IF_BRIDGE up
ifconfig -a
ip addr add $IP_HOST dev $IF_BRIDGE
ip addr add $IP_HOST dev $IF_BRIDGE
ifconfig $IF_BRIDGE netmask $IP_NETMASK
ip route delete $IP_NET
ip route add $IP_NET dev $IF_BRIDGE src $IP_HOST