From c75e1c9c621598ebb8cb2a3afb7b608d288737a6 Mon Sep 17 00:00:00 2001 From: Leif Enblom Date: Thu, 5 Dec 2024 08:30:01 +0100 Subject: [PATCH] Turning off mdnsd, querierd, ssdp-responder and mstpd by default. Just removing the enabled links so that it is possible to start them if needed. --- package/mdnsd-finit/mdnsd-finit.mk | 2 -- package/querierd/querierd.mk | 2 -- .../skeleton-init-finit/skeleton-init-finit.mk | 16 ---------------- 3 files changed, 20 deletions(-) diff --git a/package/mdnsd-finit/mdnsd-finit.mk b/package/mdnsd-finit/mdnsd-finit.mk index ec6172a..1cc92ea 100644 --- a/package/mdnsd-finit/mdnsd-finit.mk +++ b/package/mdnsd-finit/mdnsd-finit.mk @@ -16,8 +16,6 @@ define MDNSD_FINIT_INSTALL_FINIT_SVC @echo "#### MDNSD_INSTALL_FINIT_SVC" $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/mdnsd-finit/mdnsd-finit.svc \ $(FINIT_D)/available/mdnsd.conf - $(INSTALL) -d -m 0755 $(FINIT_D)/enabled - ln -sf ../available/mdnsd.conf $(FINIT_D)/enabled/mdnsd.conf endef MDNSD_FINIT_POST_INSTALL_TARGET_HOOKS += MDNSD_FINIT_INSTALL_FINIT_SVC diff --git a/package/querierd/querierd.mk b/package/querierd/querierd.mk index 0506113..4bb7668 100644 --- a/package/querierd/querierd.mk +++ b/package/querierd/querierd.mk @@ -20,8 +20,6 @@ QUERIERD_POST_INSTALL_TARGET_HOOKS += QUERIERD_INSTALL_CONFIG define QUERIERD_INSTALL_FINIT_SVC $(INSTALL) -D -m 0644 $(BR2_EXTERNAL_NETBOX_PATH)/package/querierd/querierd.svc \ $(FINIT_D)/available/querierd.conf - $(INSTALL) -d -m 0755 $(FINIT_D)/enabled - ln -sf ../available/querierd.conf $(FINIT_D)/enabled/querierd.conf endef QUERIERD_POST_INSTALL_TARGET_HOOKS += QUERIERD_INSTALL_FINIT_SVC diff --git a/package/skeleton-init-finit/skeleton-init-finit.mk b/package/skeleton-init-finit/skeleton-init-finit.mk index 9bb42d0..705902d 100644 --- a/package/skeleton-init-finit/skeleton-init-finit.mk +++ b/package/skeleton-init-finit/skeleton-init-finit.mk @@ -45,14 +45,6 @@ endef SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_DROPBEAR endif -# mstpd provides RSTP on the default bridge -ifeq ($(BR2_PACKAGE_MSTPD),y) -define SKELETON_INIT_FINIT_SET_MSTPD - ln -sf ../available/mstpd.conf $(FINIT_D)/enabled/mstpd.conf -endef -SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_MSTPD -endif - # Enable Busybox syslogd unless sysklogd is enabled ifeq ($(BR2_PACKAGE_SYSKLOGD),y) define SKELETON_INIT_FINIT_SET_SYSLOGD @@ -65,14 +57,6 @@ endef endif SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_SYSLOGD -# SSDP Responder -ifeq ($(BR2_PACKAGE_SSDP_RESPONDER),y) -define SKELETON_INIT_FINIT_SET_SSDP_RESPONDER - ln -sf ../available/ssdp-responder.conf $(FINIT_D)/enabled/ssdp-responder.conf -endef -SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_SSDP_RESPONDER -endif - # Watchdogd ifeq ($(BR2_PACKAGE_WATCHDOGD),y) define SKELETON_INIT_FINIT_SET_WATCHDOGD