- Fixed lm_sensors pwmconfig patch.
This commit is contained in:
parent
9ee28ac8ed
commit
245cf1832e
@ -7,7 +7,7 @@
|
||||
- egrep -v '(INTERVAL|FCTEMPS|FCFANS|MAXTEMP|MINTEMP|MINSTART|MINSTOP)' $FCCONFIG >/tmp/fancontrol
|
||||
- echo -e "INTERVAL=$INTERVAL\nFCTEMPS=$FCTEMPS\nFCFANS=$FCFANS\nMINTEMP=$MINTEMP\nMAXTEMP=$MAXTEMP\nMINSTART=$MINSTART\nMINSTOP=$MINSTOP" >>/tmp/fancontrol
|
||||
- mv /tmp/fancontrol $FCCONFIG
|
||||
+ tmpfile=`tempfile` || { echo "$0: Cannot create temporary file" >&2; exit 1; }
|
||||
+ tmpfile=`mktemp` || { echo "$0: Cannot create temporary file" >&2; exit 1; }
|
||||
+ trap " [ -f \"$tmpfile\" ] && /bin/rm -f -- \"$tmpfile\"" 0 1 2 3 13 15
|
||||
+ egrep -v '(INTERVAL|FCTEMPS|FCFANS|MAXTEMP|MINTEMP|MINSTART|MINSTOP)' $FCCONFIG >$tmpfile
|
||||
+ echo -e "INTERVAL=$INTERVAL\nFCTEMPS=$FCTEMPS\nFCFANS=$FCFANS\nMINTEMP=$MINTEMP\nMAXTEMP=$MAXTEMP\nMINSTART=$MINSTART\nMINSTOP=$MINSTOP" >>$tmpfile
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: lm_sensors
|
||||
Version: 2.9.1
|
||||
Release: 4
|
||||
Release: 5
|
||||
URL: http://secure.netroedge.com/~lm78/
|
||||
Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
|
||||
Source1: lm_sensors.sysconfig
|
||||
@ -102,6 +102,9 @@ fi
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%changelog
|
||||
* Tue Nov 08 2005 Phil Knirsch <pknirsch@redhat.com> 2.9.1-5
|
||||
- Fixed lm_sensors pwmconfig patch.
|
||||
|
||||
* Tue Sep 01 2005 Phil Knirsch <pknirsch@redhat.com> 2.9.1-4
|
||||
- Fixed CAN-2005-2672 lm_sensors pwmconfig insecure temporary file usage
|
||||
(#166673)
|
||||
|
Loading…
Reference in New Issue
Block a user