mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:01:55 +02:00
[backfire] merge r21588 and r21591
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21593 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6447649ddd
commit
e7cb5d5226
@ -11,7 +11,7 @@ addif() {
|
||||
|
||||
# PPP devices are configured by pppd, no need to run setup_interface here
|
||||
case "$INTERFACE" in
|
||||
ppp*) return 0;;
|
||||
ppp*|3g-*) return 0;;
|
||||
ath*) return 0;;
|
||||
wlan*) return 0;;
|
||||
esac
|
||||
|
@ -23,7 +23,10 @@ boot() {
|
||||
local proto
|
||||
config_get proto "$ifc" proto
|
||||
|
||||
type "coldplug_interface_$proto" >/dev/null && \
|
||||
local auto
|
||||
config_get_bool auto "$ifc" auto 1
|
||||
|
||||
type "coldplug_interface_$proto" >/dev/null && [ "$auto" = 1 ] && \
|
||||
coldplug_interface_$proto "$ifc"
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user