/etc/rc.subr not found !!
狀況描述:
起因於更新某軟體後 於 /usr/local/etc/rc.d/ 中的shell script啟動 出現的錯誤訊息
版本: 5.0 以前的版本,皆有此狀況
解決方式: 自行下載更新自 src/etc/rc.subr 檔案.
或自範例檔案擷取 http://ohaha.ks.edu.tw/resource/1/52
檔案用途: functions used by system shell scripts
也就是系統相關shell script需要的功能檔 例如說是rc 相關的shell scrip
或是 透過ports安裝產生的 /usr/local/etc/rc.d/ 下的 shell script 皆需使用此檔案.
常見的功能(function)有 start restart reload stop 等等.
補充說明:
此檔案從NetBSD1.3所移植, 自FreeBSD5.0後就有了這個檔案.
更多的資訊 請參考: http://www.freebsd.org/cgi/man.cgi?query=rc.subr&sektion=8
/etc/rc.subr not found !!
迴響 |
0 引用