#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
/root/startall !!新增加用于用户模块自启动部分。
其中root根目录下的startall为可以执行文件。
#vi /root/startall
su - hvms -c /home/hvms/starthvms
上面为startall的可执行脚本文件内容,标示以hvms用户来执行starthvms可执行脚本文件。在starthvms中把需要的模块写进去,这样就实现了用户进程模块开机自启动。