1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BW Stats trouble on reboot

Discussion in 'Tomato Firmware' started by mikester, Jul 31, 2007.

  1. mikester

    mikester Network Guru Member

    Can anybody offer some suggestion as to why this script successfully loads the BW log on bootup but my BW Stats don't get updated anymore?

    script located under admin/scripts/init

    logger Loading BWM Log backup from cifs1....started
    service rstats stop
    sleep 1
    cp "/cifs1/rstats.tar" "/tmp/rstats.tar"
    tar x -f "/tmp/rstats.tar" -C /
    sleep 1
    rm "/tmp/rstats.tar"
    service rstats start
    logger init script...RStats Data Restored...
    rm /tmp/restore-rstats
    logger Loading BWM Log backup from cifs1...complete

Share This Page