On Sat, Dec 12, 2015 at 05:18:36PM +0100, Tollef Fog Heen wrote: > > So network-online.target is very ill-defined, and I'd rather not see > > anything depending on it, but if we have to, I'd like something that is > > as conservative as possible. > > I think we should have something that's fairly conservative, yes. «As > possible» is too strict. We shouldn't try calling home by default, for > instance.
I agree with that. Attached is a script that can wait in a few different
ways:
- Wait for a route to be added (not necessarily a default route)
- Wait for an address to respond to ping packets
- Do nothing
Maybe I could add an option to wait for a specific interface to get a
(non-link-local) address assigned. But let me know if you have comments.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <[email protected]>
wait-online.sh
Description: Bourne shell script
signature.asc
Description: Digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
