diff --git a/docs/features/monitoring.rst b/docs/features/monitoring.rst index f3d0382d..5e035e02 100644 --- a/docs/features/monitoring.rst +++ b/docs/features/monitoring.rst @@ -133,6 +133,6 @@ about the supported arguments. Adding a data provider ---------------------- -To add a provider, you need to install a shared object into ``/lib/gluon/respondd``. +To add a provider, you need to install a shared object into ``/lib/respondd``. For more information, refer to the `respondd README `_ and have a look the existing providers. diff --git a/package/gluon-autoupdater/Makefile b/package/gluon-autoupdater/Makefile index baae06ba..c73d2bfa 100644 --- a/package/gluon-autoupdater/Makefile +++ b/package/gluon-autoupdater/Makefile @@ -31,8 +31,8 @@ define Package/gluon-autoupdater/install $(CP) ./files/* $(1)/ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/autoupdater.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/autoupdater.so if [ '$(GLUON_BRANCH)' ]; then \ $(INSTALL_DIR) $(1)/lib/gluon/autoupdater; \ diff --git a/package/gluon-mesh-batman-adv-core/Makefile b/package/gluon-mesh-batman-adv-core/Makefile index efcf1698..68e1de4f 100644 --- a/package/gluon-mesh-batman-adv-core/Makefile +++ b/package/gluon-mesh-batman-adv-core/Makefile @@ -29,8 +29,8 @@ endef define Package/gluon-mesh-batman-adv-core/install $(CP) ./files/* $(1)/ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-batman-adv-core.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/mesh-batman-adv-core.so endef define Package/gluon-mesh-batman-adv-core/postinst diff --git a/package/gluon-mesh-batman-adv-core/files/lib/gluon/respondd/client.dev b/package/gluon-mesh-batman-adv-core/files/lib/respondd/client.dev similarity index 100% rename from package/gluon-mesh-batman-adv-core/files/lib/gluon/respondd/client.dev rename to package/gluon-mesh-batman-adv-core/files/lib/respondd/client.dev diff --git a/package/gluon-mesh-vpn-fastd/Makefile b/package/gluon-mesh-vpn-fastd/Makefile index 4d75116e..ec73a19e 100644 --- a/package/gluon-mesh-vpn-fastd/Makefile +++ b/package/gluon-mesh-vpn-fastd/Makefile @@ -29,8 +29,8 @@ endef define Package/gluon-mesh-vpn-fastd/install $(CP) ./files/* $(1)/ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/mesh-vpn-fastd.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/mesh-vpn-fastd.so endef define Package/gluon-mesh-vpn-fastd/postinst diff --git a/package/gluon-node-info/Makefile b/package/gluon-node-info/Makefile index 8dd31553..89f809a5 100644 --- a/package/gluon-node-info/Makefile +++ b/package/gluon-node-info/Makefile @@ -25,8 +25,8 @@ endef define Package/gluon-node-info/install $(CP) ./files/* $(1)/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/node-info.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/node-info.so endef define Package/gluon-node-info/postinst diff --git a/package/gluon-respondd/Makefile b/package/gluon-respondd/Makefile index c6cc71e4..50c334b5 100644 --- a/package/gluon-respondd/Makefile +++ b/package/gluon-respondd/Makefile @@ -28,8 +28,8 @@ endef define Package/gluon-respondd/install $(CP) ./files/* $(1)/ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/respondd.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/respondd.so endef $(eval $(call BuildPackage,gluon-respondd)) diff --git a/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd b/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd index 564559e7..0e5ab7b2 100644 --- a/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd +++ b/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd @@ -10,7 +10,7 @@ case "$ACTION" in ifup) DEVICE="$(ifname_to_dev "$INTERFACE")" - [ "$DEVICE" != "$(cat /lib/gluon/respondd/client.dev 2>/dev/null)" ] || + [ "$DEVICE" != "$(cat /lib/respondd/client.dev 2>/dev/null)" ] || /etc/init.d/gluon-respondd restart_if_running & ;; esac diff --git a/package/gluon-respondd/files/etc/init.d/gluon-respondd b/package/gluon-respondd/files/etc/init.d/gluon-respondd index 49afef4f..5ea5c098 100755 --- a/package/gluon-respondd/files/etc/init.d/gluon-respondd +++ b/package/gluon-respondd/files/etc/init.d/gluon-respondd @@ -13,11 +13,11 @@ LOCK=/var/run/gluon-respondd.lock do_start() { DEVS="" - for dev in $( ubus call network.interface dump | jsonfilter -e "@.interface[@.proto='gluon_mesh' && @.up=true].device") $(cat /lib/gluon/respondd/client.dev 2>/dev/null) + for dev in $( ubus call network.interface dump | jsonfilter -e "@.interface[@.proto='gluon_mesh' && @.up=true].device") $(cat /lib/respondd/client.dev 2>/dev/null) do DEVS="$DEVS -i $dev" done - service_start $DAEMON -g ff02::2:1001 -p 1001 -d /lib/gluon/respondd $DEVS + service_start $DAEMON -g ff02::2:1001 -p 1001 -d /lib/respondd $DEVS } do_stop() { diff --git a/package/gluon-respondd/files/lib/gluon/respondd/neighbours.cache b/package/gluon-respondd/files/lib/respondd/neighbours.cache similarity index 100% rename from package/gluon-respondd/files/lib/gluon/respondd/neighbours.cache rename to package/gluon-respondd/files/lib/respondd/neighbours.cache diff --git a/package/gluon-respondd/files/lib/gluon/respondd/nodeinfo.cache b/package/gluon-respondd/files/lib/respondd/nodeinfo.cache similarity index 100% rename from package/gluon-respondd/files/lib/gluon/respondd/nodeinfo.cache rename to package/gluon-respondd/files/lib/respondd/nodeinfo.cache diff --git a/package/gluon-respondd/files/lib/gluon/respondd/statistics.cache b/package/gluon-respondd/files/lib/respondd/statistics.cache similarity index 100% rename from package/gluon-respondd/files/lib/gluon/respondd/statistics.cache rename to package/gluon-respondd/files/lib/respondd/statistics.cache diff --git a/package/gluon-status-page-api/Makefile b/package/gluon-status-page-api/Makefile index ddad2cab..738ad045 100644 --- a/package/gluon-status-page-api/Makefile +++ b/package/gluon-status-page-api/Makefile @@ -32,8 +32,8 @@ define Package/gluon-status-page-api/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/neighbours-batadv $(1)/lib/gluon/status-page/providers/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/ - $(INSTALL_DIR) $(1)/lib/gluon/respondd - $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/gluon/respondd/status-page-api.so + $(INSTALL_DIR) $(1)/lib/respondd + $(CP) $(PKG_BUILD_DIR)/respondd.so $(1)/lib/respondd/status-page-api.so $(CP) ./files/* $(1)/ $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/