diff options
author | Sven Roederer <devel-sven@geroedel.de> | 2017-06-06 15:52:06 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-06-07 06:50:16 +0200 |
commit | cc722bec9736c443b7217109bd74a3d65f383a47 (patch) | |
tree | 5f7f0b35c2fe3aaf47b1d08f87d943ac186e8a1f /target/linux/ath25/base-files | |
parent | 8a3a71084c3e0fb459de8ece6ea1b39d481e56d2 (diff) | |
download | upstream-cc722bec9736c443b7217109bd74a3d65f383a47.tar.gz upstream-cc722bec9736c443b7217109bd74a3d65f383a47.tar.bz2 upstream-cc722bec9736c443b7217109bd74a3d65f383a47.zip |
linux/ath25: fixing some tabs and whitespace
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Diffstat (limited to 'target/linux/ath25/base-files')
-rw-r--r-- | target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros b/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros index 434103e172..bd46cb9084 100644 --- a/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros +++ b/target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros @@ -7,7 +7,7 @@ preinit_ip() { if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \ -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then vconfig set_name_type DEV_PLUS_VID_NO_PAD - ifconfig eth0 up + ifconfig eth0 up vconfig add eth0 1 ifname=eth0.1 else @@ -18,7 +18,7 @@ preinit_ip() { fi [ -n "$pi_ifname" ] && grep -q "$pi_ifname" /proc/net/dev && { ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up - } + } } @@ -26,7 +26,7 @@ preinit_ip() { preinit_ip_deconfig() { if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \ - -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then + -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then vconfig rem eth0.1 2>/dev/null ifconfig $pi_ifname down elif [ -n "$pi_ifname" ]; then |