2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

39 Commits

Author SHA1 Message Date
puneetse
25f4f87937 Change PIDFile path from /var/run to /run
/var/run is considered a legacy directory by systemd 239+ and having it in unit files causes a warning to be emitted to the journal.
2020-03-11 09:36:51 -07:00
Ondřej Lysoněk
5c900c7e85 Replace svn keywords with LM_SENSORS_VER constant
The keywords Revision, Date and Id were being expanded by Subversion
way back when the project was being maintained in Subversion. Now when
the project is maintained in git, the keywords are no longer expanded
and appear e.g. in the output of sensors-detect literally.

Drop the keywords, or replace them with LM_SENSORS_VER where
applicable.

The value of the constant will have to be updated manually every time
a new release is made.

Inspired by a similar change in i2c-tools (commit daa430031ffd;
thanks, Jean).
2019-10-17 15:29:58 +02:00
Ondřej Lysoněk
6413b80847 Fix stale links
Fixes #8

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:38:55 +02:00
Jean Delvare
eb5cf8b2ec Update my e-mail address and copyright years 2014-03-20 10:23:35 +00:00
Jean Delvare
db290fb999 Do not order services after syslog.target
With recent (>202) systemd release, syslog.target is no longer provided:
services are ensured they are started after logging socket is setup, so
journal will capture all syslog messages and will store them and forward
them to syslog implementation (if running).

Patch from Ville Skyttä.
2014-01-19 16:57:33 +00:00
Jean Delvare
2dec06a2a9 Fix EnvironmentFile in service files
* EnvironmentFile is mandatory for sensord.
* fancontrol needs no EnvironmentFile.
2013-06-03 12:36:47 +00:00
Jean Delvare
a133842b93 Add missing dependency. 2013-05-24 13:28:38 +00:00
Jean Delvare
98f280797c Add sensord service file for systemd
Original file contributed by Nikola Pajkovsky.
2013-05-24 10:53:19 +00:00
Jean Delvare
1e3fb43118 Add fancontrol service file for systemd 2013-05-24 10:39:23 +00:00
Hans de Goede
3171cff666 systemd integration
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5964 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-27 17:35:18 +00:00
Jean Delvare
ab845dd7bb sensord has a manual page now. Patch from openSUSE.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5756 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 10:02:27 +00:00
Jean Delvare
963c843c6a Fix exit code. If there's no change needed, this is a success, not
a failure.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5755 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 09:50:51 +00:00
Jean Delvare
98b23f8627 Drop support for kernels 2.4 and earlier.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5622 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-26 15:19:28 +00:00
Jean Delvare
f7a5feaaf4 Include a sample conversion script to address the configuration file
format change (#2246).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5621 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-26 15:16:03 +00:00
Jean Delvare
b1b2c6897d Support new format of /etc/sysconfig/lm_sensors (#2246).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5620 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-26 15:07:51 +00:00
Jean Delvare
dceb0e3ade Delete lm_sensors.init.suse. The actual SuSE initialization script is
much different, and is maintained as part of the openSUSE sensors
package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5585 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 11:57:18 +00:00
Jean Delvare
17e7247f28 pwmconfig: Don't start if fancontrol is running.
fancontrol: Don't start if already running, delete fancontrol.pid at
exit time.
This closes ticket #2299.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5180 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 14:29:01 +00:00
Jean Delvare
f2e518511d Patch from Aurelien Jarno:
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Hans de Goede
afed959df6 modify initscript to have lsb compliant return values
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5144 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:50:34 +00:00
Hans de Goede
d155421542 Modify initscript chkconfig comments to not make the service start by default, modify sensors-detect to enable the service on boot once configured and to start it at the end of sensors-detect
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5143 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-12 20:50:19 +00:00
Jean Delvare
1d4796cfbc Really delete lm_sensors.sysconfig.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4382 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 20:27:58 +00:00
Jean Delvare
e893292b18 init scripts:
* Delete sample lm_sensors.sysconfig file, it is now generated by
  sensors-detect.
* Fix several occurences of the configuration file name.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4379 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 12:34:17 +00:00
Rudolf Marek
c9bd83748b Fix the homepage address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4157 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-17 21:01:35 +00:00
Jean Delvare
b72fd807fa Axel Thimm's cleanups:
o removed bashisms
  - make proper redirects to /dev/null
  - no bash-i18n
o no attempt to start lm_sensors is no config file or no modules in the
  config file
o removed leading and trailing underscores of displayed module names


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2820 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-01 12:05:17 +00:00
Mark D. Studebaker
67027938c8 change lockfile name (forgot to check in before)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2799 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-21 23:21:51 +00:00
Mark D. Studebaker
9e7e764675 rename lockfile to sensord to match filename. ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2777 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:26:59 +00:00
Mark D. Studebaker
af62c8384d rename lockfile from sensors to lm_sensors; ticket 1806
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2776 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-11-27 04:24:41 +00:00
Jean Delvare
47b99847bb Support 2.6 kernels and sensors in /usr/bin. Original patch by
Giuseppe Della Bianca.
        Additional indentation cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2657 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-08-11 17:29:00 +00:00
Jean Delvare
b8c3e5268a Fan control init script by Dean Takemori.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2607 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-06-23 19:36:49 +00:00
Jean Delvare
3b0f10d9e1 Mention the SuSE-specific init script.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2042 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-04 20:23:05 +00:00
Jean Delvare
6a66b636f9 Init script for SuSE Linux. Contributed by Marc Rieffel.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2041 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-04 20:20:44 +00:00
Mark D. Studebaker
32b082e86b added 'sensors -s' to start() as suggested by a ticket
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1717 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-02-25 02:50:46 +00:00
Mark D. Studebaker
eded4e7c01 remove space bug, add green/red output; changes from
David Mathog
	mathog@caltech.edu


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1561 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-10-12 15:48:21 +00:00
Mark D. Studebaker
138071ea37 change examples to show that MODULES_$i starts at 0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1556 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-09-28 20:42:02 +00:00
Mark D. Studebaker
59dc28b817 fix in stop() from
Sebastian Mika <Sebastian.Mika@first.fraunhofer.de>

stop: At least on my debian system the line
"modules=`grep \^MODULE_ $CONFIG | wc -l`"
evaluates to " 4" (a space before 4).

Regards,
Sebastian Mika


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1511 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-08-29 02:20:01 +00:00
Mark D. Studebaker
8f6648ffa0 Redhat init scripts from
mike808 <mike808@users.sourceforge.net>
      README by mds w/ info from mike.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1414 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-30 23:35:22 +00:00
Mark D. Studebaker
df9478ed11 renamed to sensord.init
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1413 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-30 23:33:09 +00:00
Mark D. Studebaker
df5db5b6bb renamed from sensors
revision 1.1
	date: 2002/01/05 17:16:38;  author: mds;  state: Exp;
	(mds) New SysV init script from
	      Jakub Narebski <Jakub.Narebski@fuw.edu.pl>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1412 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-06-30 23:31:50 +00:00
Mark D. Studebaker
b426711ae0 New SysV init script from
Jakub Narebski <Jakub.Narebski@fuw.edu.pl>


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1280 7894878c-1315-0410-8ee3-d5d059ff63e0
2002-01-05 17:16:38 +00:00