LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 737|回复: 6

why cannot i find /etc/rc.d/rc.local

[复制链接]
发表于 2005-10-5 19:10:23 | 显示全部楼层 |阅读模式
I saw many articles said rc.local is an important file, but why I can't find it. I want to add somthing into it, what should i do?
发表于 2005-10-5 19:12:37 | 显示全部楼层
你在/etc/rc.d下找不到这个文件吗?
你可以试着手动创建的
它应该是一个LINUX标准脚本文件的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-5 19:18:00 | 显示全部楼层
I can't even find /etc/rc.d
My system is Gentoo
Should I create it or write in some other files?
回复 支持 反对

使用道具 举报

发表于 2005-10-5 19:40:31 | 显示全部楼层
Gentoo
我没有接触过了
回复 支持 反对

使用道具 举报

发表于 2005-10-5 19:44:11 | 显示全部楼层
不是每种发行版都有那个文件。如果自己建立那个文件,还需要在/etc/rcS.d/下建立一个链接,用于启动时自动运行。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-5 19:51:05 | 显示全部楼层
I am a freshman, please tell me how to do that ,thank you very much
回复 支持 反对

使用道具 举报

发表于 2005-10-5 19:53:31 | 显示全部楼层
/etc/rcS.d/
指的是rc1-6几个运行级别脚本的保存目录下吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表