From: Felix Fietkau Date: Wed, 4 Oct 2006 18:31:31 +0000 (+0000) Subject: don't mess with the sdram settings on hacked cfe (v5) (fixes #640) X-Git-Tag: whiterussian_rc6~118 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=089364624b9b85a1f8cb6f26ae951743cc393b24;p=openwrt%2Fsvn-archive%2Fopenwrt.git don't mess with the sdram settings on hacked cfe (v5) (fixes #640) SVN-Revision: 4912 --- diff --git a/openwrt/package/base-files/default/etc/init.d/S05nvram b/openwrt/package/base-files/default/etc/init.d/S05nvram index 3e0439610a..932009e373 100755 --- 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