12 lines
330 B
Bash
Executable File
12 lines
330 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /etc/sysconfig/sensord
|
|
|
|
ARGS=""
|
|
[ "$INTERVAL" = "" ] || ARGS=`echo "$ARGS -i $INTERVAL"`
|
|
[ "$LOG_INTERVAL" = "" ] || ARGS=`echo "$ARGS -l $LOG_INTERVAL"`
|
|
[ "$RRD_INTERVAL" = "" ] || ARGS=`echo "$ARGS -t $RRD_INTERVAL"`
|
|
[ "$RRD_LOGFILE" = "" ] || ARGS=`echo "$ARGS -r $RRD_LOGFILE"`
|
|
|
|
/usr/sbin/sensord -f daemon $ARGS
|