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

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 catch-22...it 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. =)


Share This Page