aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-31 16:10:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-31 16:10:42 +0000
commitfb29bd369ac81d846170081479c3ebd0e3d020b1 (patch)
tree6886dadc22caee07692234092003db7823f8e6ae /target/linux/atheros/base-files
parent776355717c7de8293abc8aaff62bf3e97550617a (diff)
downloadupstream-fb29bd369ac81d846170081479c3ebd0e3d020b1.tar.gz
upstream-fb29bd369ac81d846170081479c3ebd0e3d020b1.tar.bz2
upstream-fb29bd369ac81d846170081479c3ebd0e3d020b1.zip
fix syntax error in preinit hook (#6610)
SVN-Revision: 19461
Diffstat (limited to 'target/linux/atheros/base-files')
-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 c15b4de1ee..418d5edd4f 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
}