Bug 176965 - PATCH: minor fixes for lm_sensors initscript
Summary: PATCH: minor fixes for lm_sensors initscript
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-04 20:09 UTC by Hans de Goede
Modified: 2015-03-05 01:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-10 14:08:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
PATCH fixing lm_sensors initscript (960 bytes, patch)
2006-01-04 20:09 UTC, Hans de Goede
no flags Details | Diff

Description Hans de Goede 2006-01-04 20:09:11 UTC
While doing some switching between runlevel 3 and 5 I noticed that
/etc/init.d/lm_sensors has 2 problems:
1) It uses /var/lock/subsys/sensors, whereas it should use
   /var/lock/subsys/lm_sensors otherwise /etc/rc.d/rc will
   try to start it again when switching runlevels even if its
   already running.

2) It should containt the word action or killproc so that
   /etc/rc.d/rc wont start it with the action function, 
   currently during startup "Starting lm_sensors:" gets
   printed twice.

The attached patch fixes both problems, you should probably change the path to
the initscript in the patch.

Comment 1 Hans de Goede 2006-01-04 20:09:12 UTC
Created attachment 122776 [details]
PATCH fixing lm_sensors initscript

Comment 2 Phil Knirsch 2006-02-10 14:08:28 UTC
Fix looks good, included in latest package for FC-Devel.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.