Skip to content

Commit

Permalink
Relocate confd-bootstrap.sh to /usr/libexec
Browse files Browse the repository at this point in the history
Bootstrap and daemon-specific helper scripts, sometimes known as foot
guns, should not be in $PATH.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Aug 29, 2023
1 parent 61aeb1f commit 47d0976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/netconf/rootfs/lib/infix/cfg-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/confd/Makefile.am
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 47d0976

Please sign in to comment.