Blame SOURCES/sensord-service-wrapper

c9a32a
#!/bin/sh
c9a32a
c9a32a
. /etc/sysconfig/sensord
c9a32a
c9a32a
ARGS=""
c9a32a
[ "$INTERVAL" = "" ] || ARGS=`echo "$ARGS -i $INTERVAL"`
c9a32a
[ "$LOG_INTERVAL" = "" ] || ARGS=`echo "$ARGS -l $LOG_INTERVAL"`
c9a32a
[ "$RRD_INTERVAL" = "" ] || ARGS=`echo "$ARGS -t $RRD_INTERVAL"`
c9a32a
[ "$RRD_LOGFILE" = "" ] || ARGS=`echo "$ARGS -r $RRD_LOGFILE"`
c9a32a
[ "$RRD_NO_AVG" = "1" ] && ARGS=`echo "$ARGS -T"`
c9a32a
[ "$LOAD_AVG" = "1" ] && ARGS=`echo "$ARGS -a"`
c9a32a
c9a32a
/usr/sbin/sensord -f daemon $ARGS