==> 在 [email protected] (Tabris) 的文章中提到:
> 如題
> 找了很多份資料都說加到rc.local
> 可是找不到這個東西><
> 是不是rc.local只有linux有?
建個apache.sh的檔案放在/usr/local/etc/rc.d裡
檔案權限改成755
內容如下:
#!/bin/sh
/usr/local/sbin/apachectl start
這樣每次開機就會執行
--
Just a Networker.
Allen Huang
--
* Post by wchuang from HC218-187-251-54.adsl.pl.apol.com.tw
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>