From 089364624b9b85a1f8cb6f26ae951743cc393b24 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 4 Oct 2006 18:31:31 +0000 Subject: [PATCH] don't mess with the sdram settings on hacked cfe (v5) (fixes #640) SVN-Revision: 4912 --- openwrt/package/base-files/default/etc/init.d/S05nvram | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2