标签:kconfig tomcat cas res lamp bsp ash script free
1, 参考:http://www.cnblogs.com/emilyzhang68/archive/2012/04/22/2465654.html
2,开机启动
-bash-4.1# find . -name "lampp"
./etc/rc.d/init.d/lampp
./opt/lampp
./opt/lampp/share/lampp
./opt/lampp/lampp
3,脚本: ./etc/rc.d/init.d/lampp
#!/bin/bash
# description: Tomcat Start Stop Restart
# processname: tomcat
# chkconfig: 234 20 80
case $1 in
start)
sh /opt/lampp/xampp start
;;
stop)
sh /opt/lampp/xampp stop
;;
esac
exit 0
标签:kconfig tomcat cas res lamp bsp ash script free
原文地址:http://www.cnblogs.com/wanhua-wu/p/7111824.html