Relocate confd-bootstrap.sh to /usr/libexec

Bootstrap and daemon-specific helper scripts, sometimes known as foot
guns, should not be in $PATH.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-08-30 10:37:43 +02:00
committed by Tobias Waldekranz
parent 31abe00514
commit c07d3e7ec9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ chmod 444 $CFG_D/auto-factory-config.cfg
ln -sf auto-factory-config.cfg $CFG_D/factory-config.cfg
# Bootstrap sysrepo db with all modules required by confd
confd-bootstrap.sh $CFG_D/factory-config.cfg $CFG_D/startup-config.cfg
/usr/libexec/confd/confd-bootstrap.sh $CFG_D/factory-config.cfg $CFG_D/startup-config.cfg
+1 -1
View File
@@ -1,5 +1,5 @@
SUBDIRS = src yang
dist_doc_DATA = README.md LICENSE
dist_bin_SCRIPTS = confd-bootstrap.sh
pkglibexec_SCRIPTS = confd-bootstrap.sh
DISTCLEANFILES = *~ *.d
ACLOCAL_AMFLAGS = -I m4