summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-31 16:10:42 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-31 16:10:42 +0000
commit6fdc10668dfe5d30d26987a8a034764df639657c (patch)
tree6cf6012888fefe9baa14f87407654025e96be82d /target/linux/atheros
parent110d8db5c7383a55946c0e95254496766a52f337 (diff)
[atheros] fix syntax error in preinit hook (#6610)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19461 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros')
-rw-r--r--target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros b/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
index c15b4de1e..418d5edd4 100644
--- a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
+++ b/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros
@@ -13,8 +13,9 @@ preinit_ip() {
else
ifname=eth0
fi
- pi_ifname=$ifname
- }
+ pi_ifname=$ifname
+ }
+ fi
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
}