mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 22:00:14 +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:
parent
110d8db5c7
commit
6fdc10668d
@ -13,8 +13,9 @@ preinit_ip() {
|
|||||||
else
|
else
|
||||||
ifname=eth0
|
ifname=eth0
|
||||||
fi
|
fi
|
||||||
pi_ifname=$ifname
|
pi_ifname=$ifname
|
||||||
}
|
}
|
||||||
|
fi
|
||||||
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
||||||
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user