On 5/8/2022 6:33 PM, Kamil Jońca wrote:
> Kamil Jońca <
kjo...@o2.pl> writes:
>
> [...]
> Another question. Can I pass option during interface up/down?
> For example, in my if-up*/if-down* scripts I have code for replacing (or
> not!) default route when needed.[1]
>
> Then I can execute something like:
>
> --8<---------------cut here---------------start------------->8---
> ifup wlan0 -o replacedefaultroute=on
> --8<---------------cut here---------------end--------------->8---
>
> how I can achieve this with networkctl (or other systemd tool)?
>
> Moreover
https://gitlab.com/craftyguy/networkd-dispatcher/-/issues/61
> So my migration probes are not very promising :/
>
> I take into account that I have some habits and some thing should be
> done completely different way[2]. But for now I even don't know if some
> things can be achieved.
>
You might be better off asking this on the appropriate mailing list! :)
--
John Doe