projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add netconfig script to brcm-2.4 and remove default /etc/config/network
[oweals/openwrt.git]
/
openwrt
/
target
/
linux
/
package
/
base-files
/
files
/
brcm-2.4
/
etc
/
init.d
/
S05nvram
diff --git
a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
index 728b2847b19b3ffe9b3660eb2ae256921426d783..70fbd4662493b8e900fb14f038dac03e9485470a 100755
(executable)
--- a/
openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
+++ b/
openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
@@
-6,6
+6,9
@@
. /etc/network.overrides
alias debug=${DEBUG:-:}
+# WGT634u
+[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit
+
remap () {
for type in lan wifi wan pppoe
do