mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
package/skeleton-init-finit: smcrouted default changes
- allow custom options sourced from optional /etc/default/smcrouted - don't enable smcrouted by default when enabled in Buildroot .config because normal use-cases require an /etc/smcroute.conf Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Richard Alpe
parent
f8666ddeb2
commit
45466bcbc7
@@ -208,7 +208,6 @@ endif # BR2_PACKAGE_QUAGGA
|
||||
ifeq ($(BR2_PACKAGE_SMCROUTE),y)
|
||||
define SKELETON_INIT_FINIT_SET_SMCROUTE
|
||||
cp $(SKELETON_INIT_FINIT_AVAILABLE)/smcroute.conf $(FINIT_D)/available/
|
||||
ln -sf ../available/smcroute.conf $(FINIT_D)/enabled/smcroute.conf
|
||||
endef
|
||||
SKELETON_INIT_FINIT_POST_INSTALL_TARGET_HOOKS += SKELETON_INIT_FINIT_SET_SMCROUTE
|
||||
endif
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
service [2345] smcrouted -ns -- Static multicast routing daemon
|
||||
service [2345789] env:-/etc/default/smcrouted \
|
||||
smcrouted -ns $SMCROUTE_OPTS $SMCROUTE_ARGS -- Static multicast routing daemon
|
||||
|
||||
Reference in New Issue
Block a user