On Fri, Apr 07, 2000 at 05:04:43AM -0700, Vinayak Risbud mentioned:
> I have given a link to my stop script (K- script) in /etc/rc.d/rc6.d/
> directory, but it is not geting executed
If you notice, for a service like "inet", which runs telnetd etc.
xena [0] ls -l /etc/rc.d/*/*inet*
-rwxr-xr-x 1 root root 1463 Sep 10 1999 /etc/rc.d/init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc0.d/K50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc1.d/K50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc2.d/K50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc3.d/S50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc4.d/S50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc5.d/S50inet -> ../init.d/inet
lrwxrwxrwx 1 root root 14 Apr 4 19:54 /etc/rc.d/rc6.d/K50inet -> ../init.d/inet
So, it looks like it would be cunning to put one in rc0.d, rc1.d, rc2.d
and rc6.d!
Kate
--
"The fool must be beaten with a stick, for an intelligent person
the merest hint is sufficient" -- Zen Master Greg
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!