how to integrate a pre-mount script ???

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

  1. maurer

    maurer Network Guru Member

    i have the following script from oleg's 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 ?
  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