Linux通用启动脚本
#!/bin/sh# Source function library.. /etc/rc.d/init.d/functions# See how we were called.case "$1" in start) echo -n "Starting XXXXX: " # daemon XXXXX /usr/sbin/XXXXX start //启动服务程序的路径 echo " [ OK ]" touch /var/lock/subsys/XXXXX ;;...