LinuxSir.cn,穿越时空的Linuxsir!

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

rc-update add 保存在哪个文件里?

[复制链接]
发表于 2008-6-14 11:36:15 | 显示全部楼层 |阅读模式
rc-update add   保存在哪个文件里?
发表于 2008-6-14 11:53:30 | 显示全部楼层
  1. [axlrose@ibmgentoo boot] $ pwd
  2. /etc/runlevels/boot
  3. [axlrose@ibmgentoo boot] $ ls -lh
  4. 总计 0
  5. lrwxrwxrwx 1 root root 21 06-12 00:53 alsasound -> /etc/init.d/alsasound
  6. lrwxrwxrwx 1 root root 20 06-11 17:03 bootmisc -> /etc/init.d/bootmisc
  7. lrwxrwxrwx 1 root root 23 06-11 17:03 consolefont -> /etc/init.d/consolefont
  8. lrwxrwxrwx 1 root root 25 2007-06-10 device-mapper -> /etc/init.d/device-mapper
  9. lrwxrwxrwx 1 root root 19 06-11 13:33 dmcrypt -> /etc/init.d/dmcrypt
  10. lrwxrwxrwx 1 root root 16 06-11 17:03 fsck -> /etc/init.d/fsck
  11. lrwxrwxrwx 1 root root 29 06-12 20:37 hibernate-cleanup -> /etc/init.d/hibernate-cleanup
  12. lrwxrwxrwx 1 root root 20 06-11 17:03 hostname -> /etc/init.d/hostname
  13. lrwxrwxrwx 1 root root 19 06-11 17:03 hwclock -> /etc/init.d/hwclock
  14. lrwxrwxrwx 1 root root 19 06-11 17:03 keymaps -> /etc/init.d/keymaps
  15. lrwxrwxrwx 1 root root 22 06-11 17:03 localmount -> /etc/init.d/localmount
  16. lrwxrwxrwx 1 root root 15 06-09 23:02 lvm -> /etc/init.d/lvm
  17. lrwxrwxrwx 1 root root 19 06-11 17:03 modules -> /etc/init.d/modules
  18. lrwxrwxrwx 1 root root 16 06-11 17:03 mtab -> /etc/init.d/mtab
  19. lrwxrwxrwx 1 root root 20 06-11 20:28 net.eth0 -> /etc/init.d/net.eth0
  20. lrwxrwxrwx 1 root root 18 06-11 17:03 net.lo -> /etc/init.d/net.lo
  21. lrwxrwxrwx 1 root root 18 06-11 17:03 procfs -> /etc/init.d/procfs
  22. lrwxrwxrwx 1 root root 16 06-11 17:03 root -> /etc/init.d/root
  23. lrwxrwxrwx 1 root root 16 06-11 17:03 swap -> /etc/init.d/swap
  24. lrwxrwxrwx 1 root root 18 06-11 17:03 sysctl -> /etc/init.d/sysctl
  25. lrwxrwxrwx 1 root root 24 06-11 17:03 termencoding -> /etc/init.d/termencoding
  26. lrwxrwxrwx 1 root root 19 06-11 17:03 urandom -> /etc/init.d/urandom
  27. [axlrose@ibmgentoo boot] $
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-14 11:58:57 | 显示全部楼层
rc-update add alsasound default,这个alsasound保存在那个配置文件内.
回复 支持 反对

使用道具 举报

发表于 2008-6-14 12:31:12 | 显示全部楼层
Post by bjsm;1861603
rc-update add alsasound default,这个alsasound保存在那个配置文件内.

在下面这个目录里面建立联接
/etc/runlevels/default/
连向/etc/init.d/alsasound
其他的都类似
回复 支持 反对

使用道具 举报

发表于 2008-6-14 15:01:32 | 显示全部楼层
我记得gentoo 官方有文档准确的说过这些
记得还是中文的,楼主去官站找找文档
回复 支持 反对

使用道具 举报

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

本版积分规则

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