From 9c197daf78aa492026c94144cf25a9cbbda62892 Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Fri, 13 Aug 2021 08:59:55 +0200 Subject: [PATCH] gluon-mesh-babel: implement neighbour check --- .../files/lib/gluon/state/check.d/has_neighbours | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours diff --git a/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours b/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours new file mode 100644 index 00000000..652d6099 --- /dev/null +++ b/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours @@ -0,0 +1,2 @@ +#!/bin/sh +out=$(echo dump | nc ::1 33123 | grep "add neighbour" 2>/dev/null) && [ -n "$out" ]