#!/bin/sh # script that runs on system startup # 2013-09-26 09:30 created by niujiuru . "$(dirname "$0")/set_env" . "$(dirname "$0")/modules/funcs/functions.sh" export_env # 启动主应用程序模块 ORDER=" yfkj_sshd myapp daemon " for m in ${ORDER} do echo ":: starting $m" call_module "$m" start done