difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

Post by Russell Reaga » Sun, 15 Dec 2002 13:33:04



What is the difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit?
I am using Redhat 8. I did a diff on them and they are identical.
/etc/rc.sysinit is apparently a copy of /etc/rc.d/rc.sysinit since it
says that it is that file, even though it's not (see below).


#!/bin/bash
#
# /etc/rc.d/rc.sysinit - run once at boot time

I want to change something in whichever of these scripts is run at
bootup, but I don't know which one gets run.

Thanks,
Russell

 
 
 

difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

Post by Sinister Midge » Sun, 15 Dec 2002 13:47:27



> What is the difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit?
> I am using Redhat 8. I did a diff on them and they are identical.
> /etc/rc.sysinit is apparently a copy of /etc/rc.d/rc.sysinit since it
> says that it is that file, even though it's not (see below).


> #!/bin/bash
> #
> # /etc/rc.d/rc.sysinit - run once at boot time

> I want to change something in whichever of these scripts is run at
> bootup, but I don't know which one gets run.

> Thanks,
> Russell

bash-2.05b$ ls -l /etc/rc.sysinit
lrwxrwxrwx    1 root    root       15 Oct 19 22:08 /etc/rc.sysinit -> rc.d/rc.sysinit

You're welcome.

--
"Came to believe that an operating system greater than Windows
(almost any) could restore us to sanity."
   -- Windows Anonymous 12-Step Program, Step 2

 
 
 

difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

Post by Russell Reaga » Sun, 15 Dec 2002 13:50:09



> bash-2.05b$ ls -l /etc/rc.sysinit
> lrwxrwxrwx    1 root    root       15 Oct 19 22:08 /etc/rc.sysinit -> rc.d/rc.sysinit

> You're welcome.

Doh!

At least I got a good laugh at myself out of this. Thanks. :)

 
 
 

1. which user does /etc/rc.d/rc.local / rc.sysinit run as?

Im running Enigma and want to set up a systemwide fetchmail daemon ... I
have got the /root/.fetchmailrc file set up fine and need to know where
to put the 'fetchmail' command.

Should I put fetchmail somewhere in either /etc/rc.d/rc.local or
rc.sysinit?  Whereabouts should I put it in?  Are there security risks
here I should know about?

--
Cheers,
Glen

2. Class B network problem

3. /etc/rc.d/rc.sysinit: /etc/sysconfig/keyboard: No such file or directory

4. SoundBlaster 16 CDROM not found by sbpcd

5. Trouble with /etc/rc.d/rc.sysinit root mount

6. Please Help ! I need a dialer for modem US-Robotics Sporster 33600 with Unix SCO 5.0.2.

7. RH7.3: LVM & /etc/rc.d/rc.sysinit

8. !!!!!!!!!!!!!!!

9. call to ldconfig in /etc/rc.d/rc.sysinit question

10. /etc/rc.d/rc.sysinit: /proc/sys/kernel/sysrq: No such file or directory

11. rc.local and rc.sysinit don't execute mount

12. /etc/rc: sendmail parms don't match /etc/rc.conf

13. Strange efect su user;/etc/rc.d/rc.0