[Cialug] /etc/network/if-up.d -> systemd

Jim Cole jrcole at gmail.com
Wed Jan 13 01:35:00 UTC 2021


I would call it via rc.local. it should be the last thing run. I use that
to change some network settings like transmit queue length.

Get BlueMail for Android <http://www.bluemail.me/r?b=16117>
On Jan 13, 2021, at 02:30, Jared Brees <fromj2sitsme at msn.com> wrote:
>
> Doesn't that depend on the specific network management tool in use? I believe with Network Manager you can use /etc/NetworkManager/dispatcher.d; but the "right way" is likely via Systemd (on a system using systemd).
>
> Since you've explicitly said you DON'T want to use a systemd daemon, then my next-best-thought for the "wrong" way to do it would be to just make a custom script that runs on boot, pings a known destination, and executes the rest of the script when ping actually succeeds, then exits.
>
> ------------------------------
>
> From: Cialug <cialug-bounces at cialug.org> on behalf of L. V. Lammert <lvl at omnitec.net>
> Sent: Monday, January 11, 2021 15:10
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: [Cialug] /etc/network/if-up.d -> systemd
>
> As /etc/network is depreciated (and unavailable by default) on a current
> systemd environment, what is the equivalent method of running a simple
> script (i.e. not a daemon/service) after the network is up?
>
>         Thanks!
> ------------------------------
>
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
> ------------------------------
>
> Cialug mailing list
> Cialug at cialug.org
> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug
>
>


More information about the Cialug mailing list