mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
package/skeleton-init-finit: enable Avahi if selected in Buildroot
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -37,6 +37,14 @@ define SKELETON_INIT_FINIT_SET_GENERIC_GETTY
|
||||
endef
|
||||
SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_GENERIC_GETTY
|
||||
|
||||
# Avahi mDNS-SD
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
define SKELETON_INIT_FINIT_SET_AVAHI
|
||||
ln -sf ../available/avahi.conf $(FINIT_D)/enabled/avahi.conf
|
||||
endef
|
||||
SKELETON_INIT_FINIT_TARGET_FINALIZE_HOOKS += SKELETON_INIT_FINIT_SET_AVAHI
|
||||
endif
|
||||
|
||||
# Dropbear SSH
|
||||
ifeq ($(BR2_PACKAGE_DROPBEAR),y)
|
||||
define SKELETON_INIT_FINIT_SET_DROPBEAR
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
service [2345789] avahi-dnsconfd -s -- Avahi unicast DNS configuration daemon
|
||||
@@ -0,0 +1 @@
|
||||
service [2345789] avahi-daemon -s -- Avahi mDNS-SD daemon
|
||||
Reference in New Issue
Block a user