finally fix the /etc/config/network bug on wgt634u (#214, #215, #219)

SVN-Revision: 3105
master
Felix Fietkau 19 years ago
parent 6d9260d267
commit f7ba30f01a
  1. 2
      openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05netconfig
  2. 2
      openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
  3. 2
      openwrt/target/linux/package/base-files/files/brcm-2.6/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

@ -7,7 +7,7 @@
alias debug=${DEBUG:-:}
# WGT634u
[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit
grep 'mtd0: 00060000' /proc/mtd 2>&- >&- && exit
remap () {
for type in lan wifi wan pppoe

@ -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

Loading…
Cancel
Save