#!/bin/bash if [ -f /ezxlocal/am ] then mount --bind /ezxlocal/am /usr/SYSqtapp/am/am fi if [ -f /ezxlocal/fmradio ] then mount --bind /ezxlocal/fmradio /usr/SYSqtapp/fmradio/fmradio fi if [ -f /ezxlocal/mediaplayer ] then mount --bind /ezxlocal/mediaplayer /usr/SYSqtapp/mediaplayer/mediaplayer fi if [ -f /ezxlocal/phone ] then mount --bind /ezxlocal/phone /usr/SYSqtapp/phone/phone fi if [ -f /ezxlocal/libezx_mp_library.so ] then mount --bind /ezxlocal/libezx_mp_library.so /usr/lib/ezx/lib/libezx_mp_library.so.1.0.0 fi if [ -f /ezxlocal/libezxaddrbkeng.so ] then mount --bind /ezxlocal/libezxaddrbkeng.so /usr/lib/ezx/lib/libezxaddrbkeng.so fi if [ -f /ezxlocal/libezxaid.so ] then mount --bind /ezxlocal/libezxaid.so /usr/lib/ezx/lib/libezxaid.so fi if [ -f /ezxlocal/libezxam.so ] then mount --bind /ezxlocal/libezxam.so /usr/lib/ezx/lib/libezxam.so fi if [ -f /ezxlocal/libezxappbase.so ] then mount --bind /ezxlocal/libezxappbase.so /usr/lib/ezx/lib/libezxappbase.so fi if [ -f /ezxlocal/libezxrichedit.so ] then mount --bind /ezxlocal/libezxrichedit.so /usr/lib/ezx/lib/libezxrichedit.so fi if [ -f /ezxlocal/libpredictengine.so ] then mount --bind /ezxlocal/libpredictengine.so /usr/language/inputmethods/libpredictengine.so fi if [ -f /ezxlocal/download/mystuff/unKnown/My_FAVOR/apmd ] then mount --bind /ezxlocal/download/mystuff/unKnown/My_FAVOR/apmd /usr/bin/apmd kill -9 $(pidof apmd) && start-stop-daemon -S -b -x /usr/bin/apmd fi if [ -f /ezxlocal/wallchanger.sh ] then /ezxlocal/wallchanger.sh fi if [ -f /ezxlocal/imsicheck.sh ] then chmod +x /ezxlocal/imsicheck.sh /ezxlocal/imsicheck.sh fi if [ -f /ezxlocal/download/mystuff/unKnown/My_FAVOR/myfont.ttf ] then mount --bind /ezxlocal/download/mystuff/unKnown/My_FAVOR/myfont.ttf /usr/language/fonts/AMCSL.TTF fi if cat /ezx_user/download/appwrite/setup/ezx_system.cfg | grep 'LanguageType = zh-cn' then cp -f /usr/data_resource/preloadapps/SysRegistry_CN /ezx_user/download/appwrite/am/SysRegistry else cp -f /usr/data_resource/preloadapps/SysRegistry_EN /ezx_user/download/appwrite/am/SysRegistry fi if [ -f /ezxlocal/download/mystuff/unKnown/My_FAVOR/ezx_volumetable.cfg ] then mount --bind /ezxlocal/download/mystuff/unKnown/My_FAVOR/ezx_volumetable.cfg /usr/SYSqtapp/sound/ezx_volumetable.cfg kill `pidof soundmanager` fi if [ ! -d /ezxlocal/download/mystuff/MemoryCard2 ] then mkdir -p --mode=777 /ezxlocal/download/mystuff/MemoryCard2 chown ezx:ezx /ezxlocal/download/mystuff/MemoryCard2 fi mount -t ext3 /dev/mmca6 /ezxlocal/download/mystuff/MemoryCard2 if [ ! -f /ezxlocal/.noswap ] then swapon /dev/mmca5 fi autopower chk_and_exec(){ if [ -f $1 ] then chmod 777 $1 . $1 fi } chk_and_exec /ezxlocal/download/mystuff/unKnown/My_FAVOR/startup.txt chk_and_exec /mmc/mmca1/autorun/startup.txt chk_and_exec /ezxlocal/download/mystuff/unKnown/startup.txt chk_and_exec /ezxlocal/download/mystuff/Others/startup.txt chk_and_exec /ezxlocal/download/mystuff/unKnown/autorun/startup.txt chk_and_exec /ezxlocal/download/mystuff/Others/autorun/startup.txt