TomatoVPN init troubles

Discussion in 'Tomato Firmware' started by rhester72, Dec 23, 2011.

  1. rhester72

    rhester72 Network Guru Member

    I hadn't noticed this being a problem in the past, but using the tip revision of Tomato-RT from the TomatoVPN repo, I've noticed that any *.init file in /opt/etc/config isn't firing on reboot. Anyone else seen anything like that?

  2. rhester72

    rhester72 Network Guru Member


    misc.c says init happens _before_ wan/lan/usb/etc...but /opt/etc/config (nearly always a USB-mounted mountpoint) is one of the paths searched for these files. Seems a bit of a searches /opt for these files before the drive containing them has been mounted, thus you're kinda boned. Urk!

    Dunno why I never noticed this before. Unfortunately there's no .usbup (or anything similar in /var/notice), .wanup appears to be the closest in time (/var/notice/sysup is *way* after the fact), but obviously you don't want init-level things happening more than once.

    So needlessly complicated. =)

  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