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

    #!/bin/sh
    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
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice