projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a97f4
)
bugfix
author
Mike Baker
<mbm@openwrt.org>
Sat, 4 Nov 2006 02:48:46 +0000
(
02:48
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Sat, 4 Nov 2006 02:48:46 +0000
(
02:48
+0000)
SVN-Revision: 5436
openwrt/package/base-files/default/etc/preinit
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/preinit
b/openwrt/package/base-files/default/etc/preinit
index ced2bd102459e78727cded5373953801f9d9383d..5b315927b3d7c7c2de22e0a059b82e5c460a3865 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/preinit
+++ b/
openwrt/package/base-files/default/etc/preinit
@@
-14,7
+14,7
@@
ifname=eth0
# WAP54G, WL-HDD
[ "$(nvram get boardnum)" = "2" \
-o \( "$(nvram get boardnum)" = "asusX" \
- -a "$(
nvram get et1phyaddr
)" -eq 1 \) ] && ifname="eth1"
+ -a "$(
($(nvram get et1phyaddr))
)" -eq 1 \) ] && ifname="eth1"
insmod switch-core
insmod switch-robo || insmod switch-adm || rmmod switch-core