Famoso rc.d

1. Famoso rc.d

Igor Vinícius
Molusco

(usa Slackware)

Enviado em 19/12/2009 - 15:48h

Pessoal, estou a tempo procurando documentação nescessária para me explicar o uso dos rc's mais comuns de um SO unix, contudo não acho em detalhes. Alguém saberia me explicar ou ter algum site com documentação? Vlw aew.


  


2. Re: Famoso rc.d

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2009 - 17:33h

na verdade nao eh de linux e sim de unix

freebsd eh mais antigo e tbm tem

agr nao tem como eu conferir aki "meu irmao esta mexendo no windows e aproveitei para dar uma olhada aki na comu"

se nao me engano tem algumas pastas que armazena configurações e outros daemons "serviços"

nao lembro direito mas axo que o rc.syslogs serve para criar os logs, e por ai vai, tem o mysql e diversos outros

no freebsd estava mexendo muito no rc.conf "configurações"

e por ai vai, e todos eles nao inicializados na inicialização do sistema "boot"


3. Re: Famoso rc.d

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2009 - 17:40h

ps: se o "rc.syslogs" estiver com a permissão de execução, ele será inicializado no boot, caso nao queira, eh soh tirar a permissão de execução

# chmod -x rc.syslog

nao tenho certeza se o nome eh esse msm, mas deu p entender neh

se nao me engano exite tbm o rc.apachectl que seria o apache, tbm nao tenho certeza do nome, no diretorio /etc/init.d tbm sao inicializados os daemons "serviços"

caso vc instalou algum aplicativo, e vc nescessita inicializar o serviço na msm hora, tem como fazer assim

/diretorio/daemon start
ou stop para parar

caso tenha um impressora, tenta para o cups, vc vai ver que nao vai mais funcionar a impressora

e depois eh soh "start" para voltar


4. Rc

Igor Vinícius
Molusco

(usa Slackware)

Enviado em 19/12/2009 - 20:56h

Vlw pela resposta douglasfim. Na verdade citei a cima Unix e não linux, mas isso não vem ao caso. Gostaria de maiores detalhamentos, algo que abrangisse a grande parte dos rc's e não somente aqueles que usamos no dia-dia, como o CUPS. Agradeço àqueles que responderam.


5. Re: Famoso rc.d

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2009 - 21:09h

douglas@CASA:/etc/rc.d$ ls -l
total 320
drwxr-xr-x 2 root root 4096 2009-11-15 21:08 init.d/
lrwxrwxrwx 1 root root 4 2009-10-28 20:54 rc.0 -> rc.6*
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc0.d/
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc1.d/
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc2.d/
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc3.d/
-rwxr-xr-x 1 root root 1282 2007-03-26 22:12 rc.4*
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc4.d/
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc5.d/
-rwxr-xr-x 1 root root 7453 2008-12-02 18:32 rc.6*
drwxr-xr-x 2 root root 4096 2008-09-23 14:55 rc6.d/
-rwxr-xr-x 1 root root 466 2008-11-26 19:39 rc.acpid*
-rwxr-xr-x 1 root root 2672 2009-05-23 01:17 rc.alsa*
-rw-r--r-- 1 root root 1032 2009-08-10 21:22 rc.atalk
-rw-r--r-- 1 root root 3116 2008-04-13 18:48 rc.bind
-rw-r--r-- 1 root root 3301 2009-08-24 06:09 rc.bluetooth
-rw-r--r-- 1 root root 1051 2009-08-24 06:09 rc.bluetooth.conf
-rwxr-xr-x 1 root root 4318 2009-08-22 02:31 rc.cups*
-rw-r--r-- 1 root root 512 2009-07-01 00:46 rc.dnsmasq
-rwxr-xr-x 1 root root 119 2009-08-24 22:23 rc.font*
-rwxr-xr-x 1 root root 1893 2008-10-22 21:03 rc.fuse*
-rwxr-xr-x 1 root root 1156 2009-10-28 21:08 rc.gpm*
-rwxr-xr-x 1 root root 906 2009-08-01 02:47 rc.hald*
-rw-r--r-- 1 root root 703 2009-08-10 16:08 rc.httpd
-rwxr-xr-x 1 root root 9579 2009-08-25 01:37 rc.inet1*
-rw------- 1 root root 3579 2009-10-28 21:08 rc.inet1.conf
-rwxr-xr-x 1 root root 4847 2007-09-17 19:07 rc.inet2*
-rwxr-xr-x 1 root root 497 2003-09-12 00:27 rc.inetd*
-rw-r--r-- 1 root root 2684 2008-12-03 20:58 rc.ip_forward
-rwxr-xr-x 1 root root 2425 2008-12-02 18:31 rc.K*
-rwxr-xr-x 1 root root 146 2009-10-28 21:06 rc.keymap*
-rwxr-xr-x 1 root root 471 2009-11-05 01:24 rc.local*
-rwxr-xr-x 1 root root 10906 2009-04-25 19:01 rc.M*
-rwxr-xr-x 1 root root 1740 2009-06-08 23:52 rc.messagebus*
lrwxrwxrwx 1 root root 19 2009-10-28 20:54 rc.modules -> rc.modules-2.6.29.6*
-rwxr-xr-x 1 root root 35406 2009-08-17 13:53 rc.modules-2.6.29.6*
-rw-r--r-- 1 root root 2585 2009-08-03 22:45 rc.mysqld
-rw-r--r-- 1 root root 2457 2008-10-28 08:49 rc.nfsd
-rw-r--r-- 1 root root 749 2009-06-03 18:07 rc.ntpd
-rw-r--r-- 1 root root 760 2009-12-09 19:24 rc.ntpd.new
-rw-r--r-- 1 root root 1722 2007-03-16 18:09 rc.pcmcia
-rw-r--r-- 1 root root 1402 2008-10-14 15:37 rc.rpc
-rwxr-xr-x 1 root root 14253 2009-04-21 23:48 rc.S*
-rw-r--r-- 1 root root 791 2009-06-26 01:21 rc.samba
-rw-r--r-- 1 root root 1169 2009-05-15 14:09 rc.saslauthd
-rw-r--r-- 1 root root 687 2002-06-04 18:09 rc.sendmail
-rw-r--r-- 1 root root 2895 2009-05-23 03:43 rc.serial
-rw-r--r-- 1 root root 895 2009-05-23 04:13 rc.snmpd
-rw-r--r-- 1 root root 1477 2009-05-23 03:04 rc.sshd
-rwxr-xr-x 1 root root 981 2007-04-09 20:10 rc.syslog*
-rw-r--r-- 1 root root 1016 2009-10-30 01:28 rc.sysstat
-rwxr-xr-x 1 root root 1740 1999-09-11 17:48 rc.sysvinit*
-rwxr-xr-x 1 root root 4231 2009-04-21 23:01 rc.udev*
-rw-r--r-- 1 root root 11147 2009-10-31 00:24 rc.vboxdrv
-rwxr-xr-x 1 root root 12494 2009-04-28 14:32 rc.wireless*
-rw------- 1 root root 7320 2009-04-28 14:32 rc.wireless.conf
-rwxr-xr-x 1 root root 2323 2008-10-31 12:00 rc.yp*


------------------------------------------------------

podemos ver o "rc.modules" seria um script que carrega os modulos desejados

aki tem uns outros diretorio como rc0.d rc1.d ..... rc6.d

mas nao tem nada dentro deles, ou seja, tudo que tem aki no meu rc.d sao scripts para carregar os serviços

soh o init.d que tem um script chamado "functions" que nao direito para que serve mas no msm diretorio tem um arquivo chamado README.functions

ou seja, nao tem nada a mais que scripts que sao inicializados no boot

isso eh tudo que vi e tbm que eu sei

se alguem tiver mais informação aew, seria bom compartilhar

mas por enquanto eh soh isso msm xD


6. Re: Famoso rc.d

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2009 - 21:13h

douglas@CASA:/etc$ ls -l
total 2004
-rw-r--r-- 1 root root 15063 2009-05-23 01:17 a2ps.cfg
-rw-r--r-- 1 root root 2561 2009-05-23 01:17 a2ps-site.cfg
drwxr-xr-x 3 root root 4096 2009-10-28 20:53 acpi/
-rw-r--r-- 1 root root 47 2009-12-18 20:43 adjtime
-rw-r--r-- 1 root root 265 2008-11-05 10:50 anthy-conf
drwxr-xr-x 8 root root 4096 2009-10-10 03:01 asciidoc/
lrwxrwxrwx 1 root root 21 2009-10-28 21:03 asound.conf -> bluetooth/asound.conf
-rw-r--r-- 1 root root 10712 2009-10-29 23:15 asound.state
-rw-r----- 1 root daemon 144 2008-10-21 11:01 at.deny
drwxr-xr-x 2 root root 4096 2009-03-09 18:05 bash_completion.d/
-rw-r--r-- 1 root root 116 2009-11-29 21:14 blkid.tab
drwxr-xr-x 3 root root 4096 2009-10-28 21:03 bluetooth/
-rw-r--r-- 1 root root 1229 2008-10-14 08:45 bootptab
drwxr-xr-x 2 root root 4096 2009-10-30 13:40 conky/
drwxr-xr-x 2 root root 4096 2009-11-19 02:12 cron.daily/
drwxr-xr-x 2 root root 4096 2002-04-15 23:00 cron.hourly/
drwxr-xr-x 2 root root 4096 2002-04-15 23:00 cron.monthly/
drwxr-xr-x 2 root root 4096 2002-04-15 23:00 cron.weekly/
-rw-r--r-- 1 root root 1750 2008-09-15 18:50 csh.login
drwxr-xr-x 5 root lp 4096 2009-12-18 21:59 cups/
drwxr-xr-x 4 root root 4096 2009-05-23 03:44 dbus-1/
drwxr-xr-x 2 root root 4096 2009-10-28 20:54 default/
-rw-r--r-- 1 root root 84 2009-07-14 18:58 dhclient.conf
drwxr-xr-x 2 root root 4096 2009-12-18 21:35 dhcpc/
-rw-r--r-- 1 root root 75 2009-07-14 18:58 dhcpd.conf
-rw-r--r-- 1 root root 2538 2009-05-23 01:29 dialogrc
-rw-r--r-- 1 root root 3984 2009-05-08 16:51 DIR_COLORS
-rw-r--r-- 1 root root 21216 2009-07-01 00:46 dnsmasq.conf
drwxr-xr-x 2 root root 4096 2009-07-01 00:46 dnsmasq.d/
-rw-r--r-- 1 root root 4843 2008-11-04 20:16 enscript.cfg
-rw-r--r-- 1 root root 368 2009-04-08 17:17 esd.conf
-rw-r--r-- 1 root root 154 1994-08-20 20:14 exports
-rw-r--r-- 1 root root 22063 2008-09-21 19:01 fb.modes
drwxr-xr-x 3 root root 4096 2009-06-12 19:45 file/
drwxr-xr-x 4 root root 4096 2009-11-05 20:11 fonts/
drwxr-xr-x 3 root root 4096 2009-10-28 20:54 foomatic/
-rw-r--r-- 1 root root 669 2009-11-29 21:04 fstab
-rw-r--r-- 1 root root 581 2009-05-23 03:23 ftpusers
-rw-r--r-- 1 root root 2006 2008-12-13 15:25 genpowerd.conf
-rw-r--r-- 1 root root 4655 2008-10-02 11:18 gettydefs
drwxr-xr-x 3 root root 4096 2009-10-28 18:08 gimp/
-rw-r--r-- 1 root root 1756 2008-10-02 11:25 gpm-root.conf
-rw-r--r-- 1 root root 1582 2008-10-02 11:25 gpm-syn.conf
-rw-r--r-- 1 root root 4763 2008-10-02 11:25 gpm-twiddler.conf
-rw-r--r-- 1 root root 758 2009-11-05 01:35 group
-rw------- 1 root root 747 2009-11-05 01:35 group-
-rw------- 1 root root 747 2009-11-02 19:11 group.bak
drwxr-xr-x 2 root root 4096 2009-11-29 22:41 grub.d/
-rw-r--r-- 1 root root 691 2009-11-05 01:35 gshadow
-rw------- 1 root root 683 2009-11-05 01:32 gshadow-
-rw------- 1 root root 673 2009-11-02 19:11 gshadow.bak
drwxr-xr-x 2 root root 4096 2009-10-28 21:01 gtk/
drwxr-xr-x 3 root root 4096 2009-06-11 14:24 gtk-2.0/
drwxr-xr-x 2 root root 4096 2009-06-09 22:22 gxine/
drwxr-xr-x 3 root root 4096 2009-08-01 02:47 hal/
-rw-r--r-- 1 root root 128 2009-10-28 21:09 hardwareclock
-rw-r--r-- 1 root root 27 1994-07-07 12:39 host.conf
-rw-r--r-- 1 root root 9 2009-10-28 21:08 HOSTNAME
-rw-r--r-- 1 root root 610 2009-10-28 21:08 hosts
-rw-r--r-- 1 root root 293 1993-11-25 23:54 hosts.allow
-rw-r--r-- 1 root root 296 1993-11-25 23:54 hosts.deny
-rw-r--r-- 1 root root 320 1998-02-08 23:57 hosts.equiv
drwxr-xr-x 2 root root 4096 2009-10-13 02:13 hp/
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 htdig/
drwxr-xr-x 4 root root 4096 2009-11-07 03:57 httpd/
-rw-r--r-- 1 root root 1839 2008-10-28 19:36 identd.conf
-rw-r--r-- 1 root root 3376 2009-08-11 01:01 im_palette.pal
-rw-r--r-- 1 root root 920 2009-08-11 01:01 im_palette-small.pal
-rw-r--r-- 1 root root 224 2009-08-11 01:01 im_palette-tiny.pal
-rw-r--r-- 1 root root 5464 2009-08-11 01:01 imrc
-rw-r--r-- 1 root root 4599 2007-06-30 17:02 inetd.conf
lrwxrwxrwx 1 root root 11 2009-10-28 20:54 init.d -> rc.d/init.d/
-rw-r--r-- 1 root root 2467 2009-10-29 23:20 inittab
-rw-r--r-- 1 root root 690 2002-05-30 19:53 inputrc
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 iproute2/
-rw-r--r-- 1 root root 6610 2009-08-01 17:54 irssi.conf
-rw-r--r-- 1 root root 24 2000-09-24 15:39 issue
-rw-r--r-- 1 root root 0 1999-09-17 15:49 issue.net
drwxr-xr-x 5 root root 4096 2009-05-23 01:40 joe/
drwxr-xr-x 4 root root 4096 2009-11-03 22:06 kde/
-rw-r--r-- 1 root root 137778 2009-12-18 21:35 ld.so.cache
-rw-r--r-- 1 root root 84 2009-11-15 12:51 ld.so.conf
-rw-r--r-- 1 root root 3534 2009-06-12 19:12 lftp.conf
-rw-r--r-- 1 root root 2181 2009-12-10 22:37 lilo.conf
-rw-r--r-- 1 root root 2001 2009-10-28 21:09 localtime
lrwxrwxrwx 1 root root 37 2009-10-28 21:09 localtime-copied-from -> /usr/share/zoneinfo/America/Sao_Paulo
-rw-r--r-- 1 root root 2058 2009-07-31 23:00 login.access
-rw-r--r-- 1 root root 10670 2009-07-31 23:00 login.defs
-rw-r--r-- 1 root root 1154 2006-09-21 03:38 logrotate.conf
drwxr-xr-x 2 root root 4096 2009-11-07 03:57 logrotate.d/
drwxr-xr-x 2 root root 4096 2009-10-28 20:54 lvm/
-rw-r--r-- 1 root root 144205 2009-05-23 01:43 lynx.cfg
-rw-r--r-- 1 root root 3581 2009-05-23 01:43 lynx.lss
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 mail/
drwxr-xr-x 3 root root 4096 2009-07-14 18:22 mc/
-rw-r--r-- 1 root root 2194 2008-10-02 12:21 mdadm.conf
-rw-r--r-- 1 root root 11298 2008-10-23 09:06 mediaprm
-rw-r--r-- 1 root root 1110 2009-05-23 01:44 minicom.users
-rw-r--r-- 1 root root 66 2009-05-23 01:44 minirc.dfl
lrwxrwxrwx 1 root root 4 2009-10-28 20:53 misc -> file/
-rw-r--r-- 1 root root 803 2009-07-17 16:29 mke2fs.conf
-rw-r--r-- 1 root root 343 2009-08-13 17:00 mkinitrd.conf.sample
-rw-r--r-- 1 root root 247 2009-03-13 08:53 modprobe.conf
drwxr-xr-x 2 root root 4096 2009-10-28 20:54 modprobe.d/
-rw-r--r-- 1 root root 16 2009-12-18 21:34 motd
drwxr-xr-x 2 root root 4096 2009-11-02 12:35 mplayer/
-rw-r--r-- 1 root root 324 2009-12-18 21:34 mtab
-rw-r--r-- 1 root root 1914 2008-10-23 09:06 mtools.conf
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 mutt/
-rw-r--r-- 1 root root 4787 2009-11-04 00:45 my.cnf
-rw-r--r-- 1 root root 1852 2009-08-10 22:02 nail.rc
-rw-r--r-- 1 root root 681 2009-07-29 19:13 named.conf
drwxr-xr-x 3 root root 4096 2009-10-28 21:03 netatalk/
-rw-r--r-- 1 root root 727 2008-10-31 12:00 netgroup
-rw-r--r-- 1 root root 233 2009-10-28 21:08 networks
-rw-r--r-- 1 root root 24 1998-02-09 00:21 nntpserver
-rw-r--r-- 1 root root 2147 2009-04-04 19:43 nscd.conf
-rw-r--r-- 1 root root 1083 2009-08-22 16:42 nsswitch.conf
-rw-r--r-- 1 root root 1447 2008-10-31 11:59 nsswitch.conf-nis
drwxr-xr-x 2 root root 4096 2009-12-10 10:31 ntp/
-rw-r--r-- 1 root root 170 2009-10-29 23:14 ntp.conf
-rw-r--r-- 1 root root 1664 2009-12-09 19:24 ntp.conf.new
-rw-r--r-- 1 root root 62 2009-10-29 23:14 ntpd.conf
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 openldap/
lrwxrwxrwx 1 root root 20 2009-11-15 20:46 openoffice.org3 -> /opt/openoffice.org3/
drwxr-xr-x 4 root root 4096 2008-10-28 19:33 openvpn/
-rw-r--r-- 1 root root 36 1994-09-12 04:01 organization
drwxr-xr-x 2 root root 4096 2009-11-11 18:10 pam.d/
drwxr-xr-x 3 root root 4096 2009-06-11 14:13 pango/
-rw-r--r-- 1 root root 1101 2009-11-05 01:36 passwd
-rw------- 1 root root 1070 2009-11-05 01:35 passwd-
-rw------- 1 root root 1074 2009-11-02 22:16 passwd.bak
drwxr-xr-x 2 root root 4096 2009-10-28 20:54 pcmcia/
-rw-r--r-- 1 root root 1035 2009-10-13 15:57 pear.conf
drwxr-xr-x 2 root root 4096 2009-10-13 15:54 php/
-rw-r--r-- 1 root root 22931 2009-05-23 01:11 pine.conf
drwxr-xr-x 5 root root 4096 2009-06-09 20:36 pm/
-rw-r--r-- 1 root root 85 2009-11-05 01:32 postgres-reg.ini
drwxr-xr-x 3 root root 4096 2009-10-28 21:03 ppp/
-rw-r--r-- 1 root root 192 2009-12-18 21:35 printcap
-rw-r--r-- 1 root root 2382 2009-11-04 01:00 profile
drwxr-xr-x 2 root root 4096 2009-06-19 15:42 profile.d/
-rw-r--r-- 1 root root 2046 2009-05-23 03:23 proftpd.conf
-rw-r--r-- 1 root root 5748 2002-02-10 07:01 protocols
-rw-r--r-- 1 root root 220 2009-06-22 17:00 quotagrpadmins-sample
-rw-r--r-- 1 root root 257 2009-06-22 17:00 quotatab-sample
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 radiusclient/
-rw------- 1 root root 4096 2009-12-18 21:34 random-seed
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc0.d -> rc.d/rc0.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc1.d -> rc.d/rc1.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc2.d -> rc.d/rc2.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc3.d -> rc.d/rc3.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc4.d -> rc.d/rc4.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc5.d -> rc.d/rc5.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc6.d -> rc.d/rc6.d/
drwxr-xr-x 10 root root 4096 2009-12-09 19:24 rc.d/
-rw-r--r-- 1 root root 110 2009-12-18 21:35 resolv.conf
lrwxrwxrwx 1 root root 16 2009-10-28 20:54 rmt -> /usr/libexec/rmt*
-rw------- 1 root root 77 2009-10-28 21:03 rndc.key
-rw-r--r-- 1 root root 1615 2008-10-14 07:27 rpc
drwxr-xr-x 3 root root 4096 2009-10-10 04:03 samba/
drwxr-xr-x 3 root root 4096 2009-12-03 15:20 sane.d/
drwxr-xr-x 2 root root 4096 2009-10-28 21:05 scim/
-rw-r--r-- 1 root root 3302 2009-05-23 03:38 screenrc
-rw-r--r-- 1 root root 666 2009-07-15 00:59 scsi_id.config
-rw-r--r-- 1 root root 365 2000-06-12 17:58 securetty
drwxr-xr-x 3 root root 4096 2009-11-11 18:10 security/
-rw-r--r-- 1 root root 6845 2009-06-22 18:43 sensors3.conf
drwxr-xr-x 2 root root 4096 2009-06-22 18:43 sensors.d/
-rw-r--r-- 1 root root 2948 2009-05-23 03:43 serial.conf
-rw-r--r-- 1 root root 73508 2006-09-30 20:06 services
drwxr-xr-x 2 root root 4096 2009-10-10 03:01 sgml/
-rw-r----- 1 root shadow 655 2009-11-05 01:36 shadow
-rw------- 1 root root 628 2009-11-05 01:35 shadow-
-rw------- 1 root root 658 2009-11-02 22:16 shadow.bak
-rw-r--r-- 1 root root 56 2009-10-28 20:54 shells
drwxr-xr-x 2 root root 4096 2009-10-28 20:54 skel/
drwxr-xr-x 3 root root 4096 2009-10-30 01:46 slackpkg/
-rw-r--r-- 1 root root 21 2009-08-26 00:23 slackware-version
drwxr-xr-x 2 root root 4096 2009-11-02 23:01 slapt-get/
-rw-r--r-- 1 root root 21599 2008-11-26 18:05 slrn.rc
-rw-r--r-- 1 root root 1437 2009-06-21 23:49 slsh.rc
-rw-r--r-- 1 root root 6452 2008-10-02 17:55 smartd.conf
drwxr-xr-x 2 root root 4096 2009-10-30 01:03 snmp/
drwxr-xr-x 2 root root 4096 2009-10-30 01:03 ssh/
drwxr-xr-x 5 root root 4096 2009-11-19 02:13 ssl/
drwxr-xr-x 2 root root 4096 2009-10-28 21:03 stunnel/
-r--r----- 1 root root 608 2008-10-13 16:07 sudoers
-rw-r--r-- 1 root root 1573 2003-03-14 19:32 syslog.conf
drwxr-xr-x 2 root root 4096 2009-10-30 01:28 sysstat/
-rw-r--r-- 1 root root 8969 2004-02-16 01:04 termcap
-rw-r--r-- 1 root root 706385 2000-03-02 20:51 termcap-BSD
-rw-r--r-- 1 root root 8969 2004-02-16 01:04 termcap-Linux
drwxr-xr-x 2 root root 4096 2009-05-23 03:39 tin/
drwxr-xr-x 2 root root 4096 2009-11-02 23:01 tvtime/
drwxr-xr-x 3 root root 4096 2009-07-15 00:59 udev/
-rw-r--r-- 1 root root 228 2009-06-30 16:16 updatedb.conf
drwxr-xr-x 3 root root 4096 2003-06-05 18:37 uucp/
drwxr-xr-x 2 root root 4096 2009-10-31 00:24 vbox/
drwxr-xr-x 2 root root 4096 2009-03-10 08:44 vga/
-rw-r--r-- 1 root root 4553 2009-06-06 18:25 vsftpd.conf
-rw-r--r-- 1 root root 3025 2009-06-22 17:00 warnquota.conf-sample
-rw-r--r-- 1 root root 4224 2008-10-07 14:50 wgetrc
-rw------- 1 root root 787 2009-05-23 03:44 wpa_supplicant.conf
drwxr-xr-x 16 root root 4096 2009-11-03 23:10 X11/
drwxr-xr-x 3 root root 4096 2009-11-11 08:09 xdg/
drwxr-xr-x 3 root root 4096 2009-06-12 17:54 xfce/
drwxr-xr-x 2 root root 4096 2009-10-10 03:01 xml/
-rw-r--r-- 1 root root 9505 2009-05-10 07:58 xpdfrc
-rw-r--r-- 1 root root 585 2008-10-31 11:59 yp.conf
-rw-r--r-- 1 root root 55 2009-05-23 03:55 ytalkrc
lrwxrwxrwx 1 root root 7 2009-10-28 20:54 zprofile -> profile


--------------------------------------------------


no diretorio /etc tem outros rc.s mas na verdade sao tudo links para os diretorios dentro do rc.d

ou seja, o unico diretorio que realmente exite no /etc eh o rc.d

o resto sao links simbolicos direcionados ao outros diretorios dentro do /etc/rc.d

entao o unico rc que podemos falar seria sobre o diretorio rc.d

veja novamente:



douglas@CASA:/etc$ ls -l
.
.
.
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc0.d -> rc.d/rc0.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc1.d -> rc.d/rc1.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc2.d -> rc.d/rc2.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc3.d -> rc.d/rc3.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc4.d -> rc.d/rc4.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc5.d -> rc.d/rc5.d/
lrwxrwxrwx 1 root root 10 2009-10-28 20:54 rc6.d -> rc.d/rc6.d/
.
.
.


7. Re: Famoso rc.d

Perfil removido
removido

(usa Nenhuma)

Enviado em 19/12/2009 - 21:17h

ps: os serviços que tem dentro do diretorio sao os que vc instalou, tando na instalação do sistema ou depois

acredito que se vc instalar o linux e nao adicionar muitos serviços

o rc.d vai ficar praticamente vazio






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts