if [ -d /local ]; then
	FILE_CNT=`/bin/ls -al /local | /bin/wc -l`
	if [ $FILE_CNT -ne 2 ]; then
		HOME=/local
		export HOME
		cd $HOME
		PATH=$PATH:/local
		export PATH
		stty erase 0x8
	fi
fi
if [ -x /flash/.profile ]; then
	. /flash/.profile
fi

if [ -x /bin/newbusybox ]; then
	if [ -x /etc/ash.profile ]; then
		ENV=/etc/ash.profile
		export ENV
		exec /bin/newbusybox ash
	fi
fi
