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

how to integrate a pre-mount script ???

Discussion in 'Tomato Firmware' started by maurer, Apr 1, 2010.

  1. maurer

    maurer LI Guru Member

    i have the following script from oleg's wl500g.info forum:
    I want to integrate it in tomato as a pre-mount usb drive script.
    How /where should i put it ?
  2. Lost_Animal

    Lost_Animal Addicted to LI Member

    save it on a file as nvtext.txt and load it on /tmp


    txtnv=`cat /tmp/nvtext.txt`
    nvram set script_usbmount="${txtnv}"
    nvram commit
    ok ?

Share This Page