Source-Changes archive

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

CVS commit: src/usr.sbin/envstat



Module Name:    src
Committed By:   xtraeme
Date:           Sun Oct  7 04:16:48 UTC 2007

Modified Files:
        src/usr.sbin/envstat: Makefile envstat.8 envstat.c
Added Files:
        src/usr.sbin/envstat: config.c config_lex.l config_yacc.y envstat.h
            envsys.conf.5

Log Message:
New configuration file format for the envsys framework:

foo0 {
        #
        # CPU Temperature
        #
        sensor0 {
                critical-max = 70C;
                critical-min = 20C;
        }
        ...
}
...

Removed the -m flag that was previously used to set properties for
sensors. Now the -c flag will process all properties specified in
the file (accepted as argument).

To remove all properties that were set, the new -S flag can be used.
This will restore default values for all devices.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/usr.sbin/envstat/Makefile
cvs rdiff -r0 -r1.1 src/usr.sbin/envstat/config.c \
    src/usr.sbin/envstat/config_lex.l src/usr.sbin/envstat/config_yacc.y \
    src/usr.sbin/envstat/envstat.h src/usr.sbin/envstat/envsys.conf.5
cvs rdiff -r1.28 -r1.29 src/usr.sbin/envstat/envstat.8
cvs rdiff -r1.55 -r1.56 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index