From e1429adae1dbcf303954f88707c786905a41ab88 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 23 Jul 2021 14:21:10 +0200 Subject: [PATCH] interfaces: use more appropriate post-up instead of up --- roles/interfaces/templates/mesh.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/interfaces/templates/mesh.conf.j2 b/roles/interfaces/templates/mesh.conf.j2 index 84fe2d4..3438536 100644 --- a/roles/interfaces/templates/mesh.conf.j2 +++ b/roles/interfaces/templates/mesh.conf.j2 @@ -28,8 +28,8 @@ iface bat-{{ site_code }} batman-multicast-mode disabled batman-routing-algo {{ batman_algo }} # - up /usr/sbin/batctl -m bat-{{ site_code }} it 5000 - up echo 2 > /sys/class/net/bat-{{ site_code }}/brport/multicast_router + post-up /usr/sbin/batctl -m bat-{{ site_code }} it 5000 + post-up echo 2 > /sys/class/net/bat-{{ site_code }}/brport/multicast_router # dmy-{{ site_code }}