root@fb1 /var/mod/root $ sh -x /etc/init.d/rc.rrdstats start
+ DAEMON=rrdstats
+ PID_FILE=/var/run/rrdstats.pid
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ [ -z ]
+ DAEMON_LONG_NAME=rrdstats
+ [ -z ]
+ CONF_NAME=rrdstats
+ [ -z ]
+ CONF_ENABLED=rrdstats_ENABLED
+ [ -z ]
+ DAEMON_BIN=rrdstats
+ [ -z /var/run/rrdstats.pid ]
+ [ -n rrdstats ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/rrdstats.cfg
+ [ ! -r /mod/etc/conf/rrdstats.cfg ]
+ . /mod/etc/conf/rrdstats.cfg
+ export RRDSTATS_CPU100PERC=yes
+ export RRDSTATS_DELBACKUP=yes
+ export RRDSTATS_DIGITEMP1W=yes
+ export RRDSTATS_DIGITEMP85=yes
+ export RRDSTATS_DIGITEMPRS=/dev/ttyUSB0
+ export RRDSTATS_DIGITEMP_A=yes
+ export RRDSTATS_DIGITEMP_AUTH=yes
+ export RRDSTATS_DIGITEMP_C=yes
+ export RRDSTATS_DIGITEMP_HTTP=yes
+ export RRDSTATS_DIGITEMP_INETD=yes
+ export RRDSTATS_DIGITEMP_L=
+ export RRDSTATS_DIGITEMP_PASS=xxMeinPWxx
+ export RRDSTATS_DIGITEMP_PORT=85
+ export RRDSTATS_DIGITEMP_U=
+ export RRDSTATS_DIGITEMP_USER=xxMeinUserxx
+ export RRDSTATS_DIMENSIONX=5
+ export RRDSTATS_DIMENSIONY=2
+ export RRDSTATS_DISK_DEV1=sda1
+ export RRDSTATS_DISK_DEV2=
+ export RRDSTATS_DISK_DEV3=
+ export RRDSTATS_DISK_DEV4=
+ export RRDSTATS_DISK_LOGARITHM1=no
+ export RRDSTATS_DISK_LOGARITHM2=no
+ export RRDSTATS_DISK_LOGARITHM3=no
+ export RRDSTATS_DISK_LOGARITHM4=no
+ export RRDSTATS_DISK_NAME1=USB Stick
+ export RRDSTATS_DISK_NAME2=
+ export RRDSTATS_DISK_NAME3=
+ export RRDSTATS_DISK_NAME4=
+ export RRDSTATS_ENABLED=yes
+ export RRDSTATS_END_BACKUP=no
+ export RRDSTATS_INTERFACE1=eth0
+ export RRDSTATS_INTERFACE2=lan
+ export RRDSTATS_INTERFACE3=wlan
+ export RRDSTATS_INTERFACE4=
+ export RRDSTATS_INTERVAL=60
+ export RRDSTATS_LOGARITHM1=no
+ export RRDSTATS_LOGARITHM2=no
+ export RRDSTATS_LOGARITHM3=no
+ export RRDSTATS_LOGARITHM4=no
+ export RRDSTATS_MAXIMUMBACKUPS=10
+ export RRDSTATS_MAX_DISK_GRAPH1=0
+ export RRDSTATS_MAX_DISK_GRAPH2=0
+ export RRDSTATS_MAX_DISK_GRAPH3=0
+ export RRDSTATS_MAX_DISK_GRAPH4=0
+ export RRDSTATS_MAX_GRAPH1=0
+ export RRDSTATS_MAX_GRAPH2=100
+ export RRDSTATS_MAX_GRAPH3=56
+ export RRDSTATS_MAX_GRAPH4=0
+ export RRDSTATS_NICE_NAME1=Internet
+ export RRDSTATS_NICE_NAME2=Intranet
+ export RRDSTATS_NICE_NAME3=Wireless
+ export RRDSTATS_NICE_NAME4=
+ export RRDSTATS_NOTLAZYM=yes
+ export RRDSTATS_NOTLAZYS=yes
+ export RRDSTATS_PERIODMAIN=1d
+ export RRDSTATS_PERIODSSUB=6h 1d 1w 1m 1y
+ export RRDSTATS_RRDBACKUP=/var/tmp/persistent/backups
+ export RRDSTATS_RRDDATA=/tmp/persistent
+ export RRDSTATS_RRDTEMP=/tmp/rrdstats
+ export RRDSTATS_SAVEBACKUP=no
+ export RRDSTATS_START_RESTORE=yes
+ export RRDSTATS_THOMSONADV=yes
+ export RRDSTATS_THOMSONTHG=yes
+ export RRDSTATS_UPTIME_ENB=yes
+ export RRDSTATS_WEBENABLED=yes
+ export RRDSTATS_WEBTCPPORT=86
+ export RRDSTATS_WEB_AUTH=yes
+ export RRDSTATS_WEB_INETD=yes
+ export RRDSTATS_WEB_PASS=xxMeinPWxx
+ export RRDSTATS_WEB_USER=xxMeinUserxx
+ export RRDSTATS_XCHG_RXTX1=no
+ export RRDSTATS_XCHG_RXTX2=no
+ export RRDSTATS_XCHG_RXTX3=no
+ export RRDSTATS_XCHG_RXTX4=no
+ HTTPD_PID_RRD=/var/run/webcfg-rrd.pid
+ HTTPD_PID_ONE=/var/run/webcfg-one.pid
+ modlib_start
+ local DAEMON_ENABLED=
+ [ == no ]
+ [ == inetd -a -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ echo rrdstats_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $RRDSTATS_ENABLED
+ echo yes
+ [ yes == inetd ]
+ local fn=/var/run/rrdstats.pid
+ [ ! -s /var/run/rrdstats.pid ]
+ return 3
+ start
+ [ no = yes -a no = no ]
+ [ yes = yes ]
+ restore silent
+ cat /var/run/rrdstats.pid
+ kill -0
+ [ silent != silent ]
+ ls /var/tmp/persistent/backups/*
+ wc -w
+ [ 0 -le 0 ]
+ [ silent != silent ]
+ echo Starting RRDstats...failed, no files to restore.
Starting RRDstats...failed, no files to restore.
+ exit 1