开机启动系统文件:/etc/rc.d/rc.local

开机启动脚本:/root/a.sh

开机启动程序:vsftpd


添加系统文件可执行权限:su chmod +x  /etc/rc.d/rc.local

在系统文件/etc/rc.d/rc.local末行添加:

sh  /root/a.sh  &

/etc/rc.d/init.d/vsftpd  start