projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
finally fix the /etc/config/network bug on wgt634u (#214, #215, #219)
[openwrt.git]
/
openwrt
/
target
/
linux
/
package
/
base-files
/
files
/
brcm-2.4
/
etc
/
init.d
/
S05netconfig
diff --git
a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
index
719dab7
..
94ee18e
100755
(executable)
--- a/
openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
+++ b/
openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
@@
-4,7
+4,7
@@
mkdir -p /etc/config
(
- if
[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ]
; then
+ if
grep 'mtd0: 00060000' /proc/mtd 2>&- >&-
; then
# WGT634u
echo boardtype=wgt634u
else
This page took
0.025292 seconds
and
4
git commands to generate.