From 5baa8e07f15e9e293ca56ca686fb654a5536d2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Mon, 9 Jan 2023 14:04:06 +0100 Subject: [PATCH] gluon-mesh-olsrd: editorconfig/whitespace fixup --- package/gluon-mesh-olsrd/Makefile | 6 +++--- .../files/lib/gluon/core/mesh/post-setup.d/30-reload-olsr | 8 ++++---- .../files/lib/gluon/core/mesh/teardown.d/70-reload-olsr | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package/gluon-mesh-olsrd/Makefile b/package/gluon-mesh-olsrd/Makefile index 55926ea5..adf1a07a 100644 --- a/package/gluon-mesh-olsrd/Makefile +++ b/package/gluon-mesh-olsrd/Makefile @@ -6,14 +6,14 @@ PKG_VERSION=1 include ../gluon.mk define Package/gluon-mesh-olsrd - TITLE:=olsrd mesh - DEPENDS:= \ + TITLE:=olsrd mesh + DEPENDS:= \ +gluon-core \ @IPV6 \ +oonf-olsrd2 \ +firewall \ +gluon-mesh-layer3-common - PROVIDES:=gluon-mesh-provider + PROVIDES:=gluon-mesh-provider endef $(eval $(call BuildPackageGluon,gluon-mesh-olsrd)) diff --git a/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/post-setup.d/30-reload-olsr b/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/post-setup.d/30-reload-olsr index 7f12096c..e96dcce2 100755 --- a/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/post-setup.d/30-reload-olsr +++ b/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/post-setup.d/30-reload-olsr @@ -1,10 +1,10 @@ #!/bin/sh reload_running() { - if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled && /etc/init.d/"$1" running; then - echo "(post-setup.d:$IFNAME) Reloading $1..." - /etc/init.d/"$1" reload - fi + if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled && /etc/init.d/"$1" running; then + echo "(post-setup.d:$IFNAME) Reloading $1..." + /etc/init.d/"$1" reload + fi } reload_running olsrd2 diff --git a/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/teardown.d/70-reload-olsr b/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/teardown.d/70-reload-olsr index f69bf08d..0eb0e58c 100755 --- a/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/teardown.d/70-reload-olsr +++ b/package/gluon-mesh-olsrd/files/lib/gluon/core/mesh/teardown.d/70-reload-olsr @@ -1,10 +1,10 @@ #!/bin/sh reload_running() { - if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled && /etc/init.d/"$1" running; then - echo "(teardown.d:$IFNAME) Reloading $1..." - /etc/init.d/"$1" reload - fi + if [ -x /etc/init.d/"$1" ] && /etc/init.d/"$1" enabled && /etc/init.d/"$1" running; then + echo "(teardown.d:$IFNAME) Reloading $1..." + /etc/init.d/"$1" reload + fi } reload_running olsrd2