Re: What about breaking rc.sysint up into an rc.sysinit.d

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

 



> 
> James Olin Oden wrote:
> 
> >>Some of the pieces I am building and adding to my RedHat installation are
> >>requiring modifications to the /etc/rc.d/rc.sysinit script.
> >>
> >>What would be the response to creating an rc.sysinit.d, breaking the 
> >>rc.sysinit
> >>script into smaller scripts that live in rc.sysinit.d and modifying 
> >>rc.sysinit to
> >>just loop through each of the scripts in numerical order?
> >>
> >Can't you get there by just adding a new RC script in the init.d directory
> >and and using chkconfig (I think that is it) to enable it in your RPM that
> >installs the new RC script?
> >
> >...james 
> >
> The one I am coming across right now is lkcd (Linux Kernel Crash Dump) 
> which needs the crash dump command run before the swapon occurs.  This 
> happens in rc.sysinit.  Any other suggestions are welcome, but I think 
> this would make the addition of new early init pieces more modular.
>
In that case then you need to be able to add code that will run before 
rc.sysinit and after (not yours, but the feature would need to be complete
in that way...james  
> Thanks,
> Robin
> 
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> Redhat-devel-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux