| Deutsch English Français Italiano |
|
<101niml$7k6m$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: jornws200602@xs4all.nl (Oscar) Newsgroups: comp.sys.raspberry-pi Subject: Re: Delaying Autostart Date: Tue, 3 Jun 2025 19:33:41 -0000 (UTC) Organization: A butterfly in Tokio Lines: 21 Message-ID: <101niml$7k6m$2@dont-email.me> References: <101gqp3$1ro0p$1@dont-email.me> <101mrm6$sht$1@dont-email.me> <101n06i$264r$1@dont-email.me> <lKm*Ch8dA@news.chiark.greenend.org.uk> Injection-Date: Tue, 03 Jun 2025 21:33:42 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8ff19d365287b3fc23bf0aa89b95448e"; logging-data="250070"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Eobx7nbYOI39jbTCeY7eI" Cancel-Lock: sha1:gdGzfhCfvLhqiMC8x3Ax+/pfmNk= X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Bytes: 1936 In article <lKm*Ch8dA@news.chiark.greenend.org.uk>, Theo <theom+news@chiark.greenend.org.uk> wrote: >I was going to suggest something similar like that too. It is worth >checking what the webserver is giving you - some services give a generic >'please wait while I start up' web page which may not be what you want. >Maybe you need to ask for a specific page and count a redirect (to the >'please wait') page as a failure. In my use case this was enough. You can also direct curl output to grep and use that as an indicator of your device's desired state. >> Why waste a curl call when ping 8.8.8.8 would work with less overhead? >The purpose is to test a specific service *on this machine* has started up, >not generic internet connectivity. Yeah. And curl is not *that* expensive to run. Maybe even less expensive than ping, as it does not have the setuid overhead. But who's counting clock cycles anyway? -- [J|O|R] <- .signature.gz