projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add acm usb modem modul
[openwrt.git]
/
openwrt
/
target
/
default
/
target_skeleton
/
etc
/
nvram.overrides
diff --git
a/openwrt/target/default/target_skeleton/etc/nvram.overrides
b/openwrt/target/default/target_skeleton/etc/nvram.overrides
index
e1040fe
..
001a613
100644
(file)
--- a/
openwrt/target/default/target_skeleton/etc/nvram.overrides
+++ b/
openwrt/target/default/target_skeleton/etc/nvram.overrides
@@
-36,11
+36,18
@@
remap () {
debug "### wl-500g deluxe hacks ###"
NVRAM_vlan0hwname="et0"
NVRAM_vlan1hwname="et0"
debug "### wl-500g deluxe hacks ###"
NVRAM_vlan0hwname="et0"
NVRAM_vlan1hwname="et0"
- FAILSAFE_ifnames="vlan0
vlan1 eth2
"
+ FAILSAFE_ifnames="vlan0
eth1
"
remap eth0.1 vlan0
remap eth0 vlan1
}
remap eth0.1 vlan0
remap eth0 vlan1
}
+# hacks for asus wl-300g
+[ "$(nvram get productid)" = "WL300g" ] && {
+ debug "### wl-300g hacks ###"
+ NVRAM_lan_ifnames="eth0 eth2"
+ NVRAM_wan_ifname="none"
+}
+
# hacks for wap54g hardware
[ "$(nvram get boardnum)" = "2" ] || \
[ "$(nvram get boardnum)" = "1024" ] && {
# hacks for wap54g hardware
[ "$(nvram get boardnum)" = "2" ] || \
[ "$(nvram get boardnum)" = "1024" ] && {
@@
-51,7
+58,8
@@
remap () {
# hacks for buffalo wla2-g54l
[ "$(nvram get boardnum)" = "00" ] && \
# hacks for buffalo wla2-g54l
[ "$(nvram get boardnum)" = "00" ] && \
-[ "$(nvram get product_name)" = "Product_name" ] && {
+[ "$(nvram get product_name)" = "Product_name" ] || \
+[ "$(nvram get product_name)" = "WLA2-G54L" ] && {
debug "### wla2-g54l hacks ###"
NVRAM_wan_ifname="none"
NVRAM_lan_ifnames="vlan0"
debug "### wla2-g54l hacks ###"
NVRAM_wan_ifname="none"
NVRAM_lan_ifnames="vlan0"
This page took
0.030207 seconds
and
4
git commands to generate.