How to trigger env variable change on kernel change?

There are a couple of suggestions on this forum:

1 Like