I just pushed http://git.openwrt.org/?p=project/netifd.git;a=commit;h=5cf30b59baa03db2448570c78e7e92873555d2ec (not yet bumped in trunk) which allows generic dependencies to interfaces by using an empty address, with that you can add a host dependency and once fulfilled use network_* to get the addresses.
Please let me know if that works for you. Cheers, Steven On 10.06.2015 14:52, Steven Barth wrote: > > > >> UCI is read as network_get_subnets only returns info for active >> interfaces; e.g. if the referred interface in the unnumbered parameter >> is down it's not possible to install the host dependency based on the >> IP address for the PPP interface. >> Did not (yet) find a way to circumvent this issue. > > Understood, I think the sane way around here would be to add a > host_dependency on the interface itself (without a specific IP-address). > Let me see if this can be added to netifd easily. > > > Cheers, > > Steven > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel