Re: note about packaging init scripts

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

 



Mike A. Harris (mharris@xxxxxxxxxx) said: 
> >If you are packaging init scripts with a file path of
> > /etc/init.d/your_script
> >you *need* to either:
> >
> >a) prereq chkconfig (even if you don't call it)
> >b) package it in /etc/rc.d/init.d/your_script
> >
> >As /etc/init.d is a symlink, if you don't do one of
> >these, your package may be installed first, and this
> >will cause chkconfig to fail to install later.
> 
> Wouldn't it be better to do:
> 
> PreReq: /etc/init.d

Either chkconfig, or /etc/init.d will work.

Bill


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux