Tomato Button Scrip

Discussion in 'Tomato Firmware' started by blaines, Jun 20, 2010.

  1. blaines

    blaines Addicted to LI Member

    I think the capability to script the SES button is an really useful. If only people knew how to use it. One such useful script would be to disable/enable unnecessary daemons like httpd and such. How can I make a script to toggle? I see there's a default custom script "[ $1 -ge 20 ] && telnetd -p 233 -l /bin/sh" but its not really useful because I have no idea what the part in brackets means! $1 is a substitution of some sort...
     
  2. rhester72

    rhester72 Network Guru Member

    $1 is the length of time the button was held down in seconds.

    Rodney
     
  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