1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-11 18:40:16 +02:00

[atheros] fix syntax error in preinit hook (#6610)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19461 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-01-31 16:10:42 +00:00
parent 110d8db5c7
commit 6fdc10668d

View File

@ -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
}