aboutsummaryrefslogtreecommitdiffstats
path: root/templates/etc_devd_lan0_jail_restore.conf.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-07-02 22:04:25 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-07-02 22:04:25 +0300
commit5c235db068ae5b604a2a315f8bdbba0e7853a756 (patch)
tree5c75e6d6806f30e61e0721eab1e3c64aced65004 /templates/etc_devd_lan0_jail_restore.conf.j2
parent026131479b0281ea0cdfd6ac5edfaa79fced3f2a (diff)
Restore jail aliases on if up
Diffstat (limited to 'templates/etc_devd_lan0_jail_restore.conf.j2')
-rw-r--r--templates/etc_devd_lan0_jail_restore.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/etc_devd_lan0_jail_restore.conf.j2 b/templates/etc_devd_lan0_jail_restore.conf.j2
new file mode 100644
index 0000000..c59b428
--- /dev/null
+++ b/templates/etc_devd_lan0_jail_restore.conf.j2
@@ -0,0 +1,6 @@
+notify 10 {
+ match "system" "IFNET";
+ match "subsystem" "lan0";
+ match "type" "LINK_UP";
+ action "/usr/local/bin/restore_jail_aliases.sh";
+};