[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: organização dos rcs



On Tue, 2005-07-19 at 19:35 -0300, Maxwillian Miorim wrote:
> Desculpem, me expressei errado anteriormente, o tiago tem razão, são
> no boot e não após o runlevel (que pode ser trocado com o init ou
> telinit).
> 
> Mas o conceito permanece: é o equivalente ao rc.local

Não.

Todos os scripts de inicialização ficam no init.d, no rcS.d ficam os
links para os scripts relacionados estritamente a configuração da
máquina e hardware. Não tem nada equivaliente ao rc.local no Debian,
até porque os links tem que seguir o padrão SXXnome, onde XX é a ordem 
em que ele será executado.

miguel@debian:/etc/rcS.d$ ls -la
total 16
drwxr-xr-x   2 root root 4096 2005-07-13 00:12 .
drwxr-xr-x  94 root root 8192 2005-07-19 19:42 ..
-rw-r--r--   1 root root  701 2004-09-10 12:00 README
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S02mountvirtfs
-> ../init.d/mountvirtfs
lrwxrwxrwx   1 root root   14 2005-03-26 09:28 S04udev -> ../init.d/udev
lrwxrwxrwx   1 root root   18 2005-03-25 14:41 S05bootlogd
-> ../init.d/bootlogd
lrwxrwxrwx   1 root root   25 2005-03-25 14:42 S05initrd-tools.sh
-> ../init.d/initrd-tools.sh
lrwxrwxrwx   1 root root   19 2005-03-25 14:42 S05keymap.sh
-> ../init.d/keymap.sh
lrwxrwxrwx   1 root root   22 2005-03-25 14:41 S10checkroot.sh
-> ../init.d/checkroot.sh
lrwxrwxrwx   1 root root   25 2005-05-08 11:52 S18hwclockfirst.sh
-> ../init.d/hwclockfirst.sh
lrwxrwxrwx   1 root root   24 2005-03-25 14:42 S18ifupdown-clean
-> ../init.d/ifupdown-clean
lrwxrwxrwx   1 root root   27 2005-03-25 14:42 S20module-init-tools
-> ../init.d/module-init-tools
lrwxrwxrwx   1 root root   18 2005-03-25 14:41 S20modutils
-> ../init.d/modutils
lrwxrwxrwx   1 root root   20 2005-03-25 14:41 S30checkfs.sh
-> ../init.d/checkfs.sh
lrwxrwxrwx   1 root root   19 2005-03-25 14:41 S30procps.sh
-> ../init.d/procps.sh
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S35mountall.sh
-> ../init.d/mountall.sh
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S36mountvirtfs
-> ../init.d/mountvirtfs
lrwxrwxrwx   1 root root   19 2005-03-26 09:28 S36udev-mtab
-> ../init.d/udev-mtab
lrwxrwxrwx   1 root root   18 2005-03-25 14:42 S39ifupdown
-> ../init.d/ifupdown
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S40hostname.sh
-> ../init.d/hostname.sh
lrwxrwxrwx   1 root root   17 2005-03-25 14:42 S40hotplug
-> ../init.d/hotplug
lrwxrwxrwx   1 root root   20 2005-03-25 14:42 S40networking
-> ../init.d/networking
lrwxrwxrwx   1 root root   21 2005-04-06 19:08 S41hotplug-net
-> ../init.d/hotplug-net
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S45mountnfs.sh
-> ../init.d/mountnfs.sh
lrwxrwxrwx   1 root root   27 2005-03-25 14:42 S48console-screen.sh
-> ../init.d/console-screen.sh
lrwxrwxrwx   1 root root   20 2005-05-08 11:52 S50hwclock.sh
-> ../init.d/hwclock.sh
lrwxrwxrwx   1 root root   21 2005-03-25 14:41 S55bootmisc.sh
-> ../init.d/bootmisc.sh
lrwxrwxrwx   1 root root   17 2005-03-25 14:41 S55urandom
-> ../init.d/urandom
lrwxrwxrwx   1 root root   17 2005-03-25 14:41 S70nviboot
-> ../init.d/nviboot
lrwxrwxrwx   1 root root   20 2005-07-12 22:48 S70x11-common
-> ../init.d/x11-common
lrwxrwxrwx   1 root root   14 2005-07-01 21:24 S75sudo -> ../init.d/sudo




Reply to: