转 http://blog.itpub.net/23135684/viewspace-668924/ unix 一般使用方法3,用于部署osw 方法一:编辑/etc/rc.d/rc.local加入要执行的命令.如:[[email protected] rc.d]# cat rc.local#!/bin/sh## This script. will be executed *after* all the other init scripts.# You can put your own initi