Tomato mod which has wan down script?

Discussion in 'Tomato Firmware' started by menses, Feb 15, 2010.

  1. menses

    menses LI Guru Member

    It works nicely but I just noticed there will be millions of wan-up scripts running if you don't kill the script when ppp link is disconnected.

    This solves the problem:
    Code:
    while sleep 2; do
    if [ -e /tmp/ppp/link ] ; then
    led bridge on
    else
    led bridge off
    killall script_wanup.sh
    fi
    done
    I'm still searching for a better solution that doesn't require infinite loops... is there a Tomato mod which has wan down script? Or a way to edit all scripts...
     
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    I moved your post out to its own thread to generate a response to your question. You posted to a thread that was 2 years stale
     
  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