git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3105 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
66ac85a58c
commit
545d26b542
|
@ -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…
Reference in New Issue