projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac850b9
)
don't mess with the sdram settings on hacked cfe (v5) (fixes #640)
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 4 Oct 2006 18:31:31 +0000
(18:31 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 4 Oct 2006 18:31:31 +0000
(18:31 +0000)
SVN-Revision: 4912
openwrt/package/base-files/default/etc/init.d/S05nvram
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/init.d/S05nvram
b/openwrt/package/base-files/default/etc/init.d/S05nvram
index 3e0439610affd74a885a97c60ec479204e748bba..932009e373c850ef58c67adef5531aa7f3a59cab 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/init.d/S05nvram
+++ b/
openwrt/package/base-files/default/etc/init.d/S05nvram
@@
-38,6
+38,7
@@
boardnum=$(nvram get boardnum)
boardflags=$(($(nvram get boardflags)))
adm_switch="$(( ($boardflags & 0x80) >> 7 ))"
+[ -n "$(nvram get vxkilled)" ] && boardtype=0 # don't mess with the ram settings on the hacked cfe
case "$(( $boardtype ))" in
"1800") #0x708
if [ "$adm_switch" = 0 ]; then