热门
将开机运行脚本写入
/etc/rc.local
将关机前运行脚本写入
/etc/rc.shutdown.local
测试
/etc/rc.d/local start /etc/rc.d/local stop
修改 /etc/rc.conf 生效
sh /etc/rc
原文出处:Netkiller 系列 手札 本文作者:陈景峯 转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。