在板子上电后自动运行程序
来源:互联网 发布:linux启动软件命令 编辑:程序博客网 时间:2024/06/13 18:52
将自己的应用加在/etc/profile文件中
MSLIB_PATH=/vendor/lib
export LD_PRELOAD=$MSLIB_PATH/preloadable_libiconv.so
export LD_LIBRARY_PATH=$MSLIB_PATH:$MSLIB_PATH/utopia
export TERM=vt100
export TERMINFO=/terminfo
export GST_PLUGIN_PATH=$MSLIB_PATH/gstreamer-0.10
export GST_PLUGIN_SCANNER=$MSLIB_PATH/gstreamer-0.10/bin/gst-plugin-scanner
export GST_REGISTRY=$MSLIB_PATH/gstreamer.registry
export GST_REGISTRY_FORK=no
export GST_REGISTRY_UPDATE=no
ulimit -c unlimited >/dev/null 2>&1
#echo ""
#echo ""
#echo "Please press Ctrl-C TWICE to leave auto run mode."
#for i in 1 2 3 4 5 ; do
# echo -e -n $i" "
# sleep 1
#done
#udhcpc -t 1 -T 3 -n
ulimit -s 4196
#Skype run-time daemon
if [ -f /applications/Skype/linux-mipsel-skypekit-voicertp-videortp ];then
echo "Start Skype daemon..."
/applications/Skype/linux-mipsel-skypekit-voicertp-videortp &
fi
echo "cd to applications/bin"
cd /applications
./apm &
cd /applications/bin
./autorun &
echo "cd to applications/tv/bin"
cd /applications/tv/bin
./dvbt_board &
MSLIB_PATH=/vendor/lib
export LD_PRELOAD=$MSLIB_PATH/preloadable_libiconv.so
export LD_LIBRARY_PATH=$MSLIB_PATH:$MSLIB_PATH/utopia
export TERM=vt100
export TERMINFO=/terminfo
export GST_PLUGIN_PATH=$MSLIB_PATH/gstreamer-0.10
export GST_PLUGIN_SCANNER=$MSLIB_PATH/gstreamer-0.10/bin/gst-plugin-scanner
export GST_REGISTRY=$MSLIB_PATH/gstreamer.registry
export GST_REGISTRY_FORK=no
export GST_REGISTRY_UPDATE=no
ulimit -c unlimited >/dev/null 2>&1
#echo ""
#echo ""
#echo "Please press Ctrl-C TWICE to leave auto run mode."
#for i in 1 2 3 4 5 ; do
# echo -e -n $i" "
# sleep 1
#done
#udhcpc -t 1 -T 3 -n
ulimit -s 4196
#Skype run-time daemon
if [ -f /applications/Skype/linux-mipsel-skypekit-voicertp-videortp ];then
echo "Start Skype daemon..."
/applications/Skype/linux-mipsel-skypekit-voicertp-videortp &
fi
echo "cd to applications/bin"
cd /applications
./apm &
cd /applications/bin
./autorun &
echo "cd to applications/tv/bin"
cd /applications/tv/bin
./dvbt_board &
0 0
- 在板子上电后自动运行程序
- Qt学习(如何交叉编译一个Qt程序使其能在板子上运行)
- qtopia程序在板子上运行闪屏(屏幕先变绿一会后才显示窗体)
- Qt学习(如何交叉编译一个Qt程序使其能在板子上运行) .
- 程序在开机时自动运行
- 如何在Linux实现自动运行程序
- LPC2294板子测试程序,循环点亮板子上的三个LED灯测试板子能否正常运行程序
- S5PV210友善smart tiny 210板子led测试程序 test程序不能再板子运行
- 如何在44B0板子的RAM中运行uclinux
- 在zedboard板子上运行人脸检测例子
- minigui demo helloworld在arm目标板子上的运行
- 如何使程序在运行时自动注册ActiveX控件
- 让程序在Windows CE系统启动时自动运行
- 在Red Hat Linux中自动运行程序
- 在Red Hat Linux中自动运行程序
- 如何使程序在运行时自动注册ActiveX控件
- 在C++ Builder中实现程序自动运行
- 如何使程序在运行时自动注册ActiveX控件
- 产品狗是做单身狗的
- Android跑马灯效果实现
- java怎么用一行代码初始化ArrayList
- xamrain 写txt文件
- tar.bz2文件解压缩
- 在板子上电后自动运行程序
- Vijos P1159 岳麓山上打水
- Swift学习Day02(基础语法—)
- Android面试题APP,收集网上关于Android的初级、中级、高级的面试题
- svn版本库与hooks脚本
- Java多线程交替执行任务
- NOI OpenJudge 7627:鸡蛋的硬度
- 提高插入大量数据时的运行效率
- 删除前先判断指定的表或者存储过程是否存在if exists