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

A-U-N Ad blocking | *.wanup script won't execute on boot. (/opt/etc/config/)

Discussion in 'Tomato Firmware' started by nobugme, Mar 8, 2012.

  1. nobugme

    nobugme Network Guru Registered

    Hi, i'm trying to execute the script on boot from: /opt/etc/config/adblock.wanup to save nvram space, but it won't execute.

    Running it manually from SSH with: "./adblock.wanup" everything starts as expected.

    Followed this tutorial: http://tomatousb.org/tut:optware-installation

    Aslo using this: (from tutorial.)
    if [ -f /var/notice/wan ]; then
      for s in /opt/etc/config/*.wanup; do $s; done
      for s in /opt/etc/config/*.fire; do $s; done
    HW: RT-16N
    Tomato firmare: 1.28.0000 MIPSR2-085V K26 USB AIO
    Any help would be appreciated.
  2. ntest7

    ntest7 Network Guru Member

    Try adding as the first line of the adblock.wanup script:

    nobugme likes this.
  3. nobugme

    nobugme Network Guru Registered

    Well that worked out perfectly, really appreciate your help, thought about adding earlier, but didn't bother cause it was already present on line 12 of the script.
    Stupid me I guess, yet thanks again!

Share This Page