PostUP and PostDown is removed

Hello, I wan’t to use PostUp and PostDown to activate/deactivate IPv6 on br-lan whan a WG tunnel goes up and down.
When I use the GUI the PostUp/PostDown is removed.
I have also tested to edit /etc/config/wireguard and added
option postup '/sbin/ip a a ….’
option postdown '/sbin/ip a d ….’
and that do not work either.
I have an GL-SFT1200 with the latest updates.

How do I do this? It’s boring and old stuff to ssh and activate it.

//T

Hi

To simplify user operations, our system manages all Pre/Post UP/Down processing internally.
As a result, any user-defined scripts for these actions will not be executed.

If you need to add custom logic, you can modify /lib/netifd/proto/wgclient.sh and insert your commands at the appropriate locations within the script.