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