mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 07:49:21 +02:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3105 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8fc76ea675
commit
3fb64e239b
@ -4,7 +4,7 @@
|
|||||||
mkdir -p /etc/config
|
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
|
# WGT634u
|
||||||
echo boardtype=wgt634u
|
echo boardtype=wgt634u
|
||||||
else
|
else
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
alias debug=${DEBUG:-:}
|
alias debug=${DEBUG:-:}
|
||||||
|
|
||||||
# WGT634u
|
# WGT634u
|
||||||
[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit
|
grep 'mtd0: 00060000' /proc/mtd 2>&- >&- && exit
|
||||||
|
|
||||||
remap () {
|
remap () {
|
||||||
for type in lan wifi wan pppoe
|
for type in lan wifi wan pppoe
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
mkdir -p /etc/config
|
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
|
# WGT634u
|
||||||
echo boardtype=wgt634u
|
echo boardtype=wgt634u
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user