#!/bin/sh export PATH=/appset/bin/:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/appset/media_lib:/appset/lib echo "*** Hello, This is Gemini! ***" echo "** run in $1 **" echo $PATH yw_SN & if [ ! -d /tmp/upgrade ];then mkdir /tmp/upgrade fi ln -s /tmp/usr/yw_subfont.ttf /lib/modules/yw_subfont.ttf cp /appset/bin/hostapd.conf /appset/conf/hostapd.conf #dd if=/dev/zero of=/var/run/g7.img bs=1M count=7; #mkfs.ext4 -i 65536 /var/run/g7.img; #mkdir /var/run/g7; #rm -rf /var/run/g7/* #sync; #mount -t ext4 /var/run/g7.img /var/run/g7; #G7_Serveronline.sh & yw_tts 1 & ywupdate d & #echo '/mnt/mtd/%e_%p_%i_%t.dmp' | tee /proc/sys/kernel/core_pattern pwd_path=`pwd` cd /appset/bin/ ybt_srv & cd $pwd_path wifi_server -d & #mdk_core & sleep 1 mdk_core & mapinfoget_online.sh & #ulimit -c unlimited #mdk_core &