Ticket #780, SysV compliant init script

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

 



On Sat, 5 Jan 2002, Mark D. Studebaker wrote:

> On ticket 780, thanks for the contribution.
> Do you have a proposal for where we should put it?

In the sources directory? In progs probably. One should install it into
/etc/rc.d/init.d/

> Also, can you give us a little more background
> on the need for 'SySV compliant init scripts',
> I'm not really familiar with them.

You put it into /etc/rc.d/init.d/, you make symlink (probably using
chkconfig, ntsysv, tksysv or serviceconf program) named S95xxx and K05xxx
into /etc/rc#.d (where # is the number of runlevel), and sensors service
(which starts lm_sensors modules, runs sensors -s and starts sensord)
will be started automatically at startup/reboot and stopped at shutdown.
One could also start/stop service manually.

> Also is there any problem with calling it 'sensors'
> when we already have a 'sensors' program?

No, the /etc/rc.d/init.d/ is not [normally] in path.

-- 
Jakub Nar?bski
   Poland



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux