From 43e3c6bb22942276f513b840078d7c84066c3c3a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 26 Apr 2022 07:21:34 +0200 Subject: Makefile: check which CLI scripts are not enabled to work with vyos-configd --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1abc79ab3..ca68214ac 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,18 @@ vyxdp: $(MAKE) -C $(XDP_DIR) .PHONY: all -all: clean interface_definitions op_mode_definitions test j2lint vyshim +all: clean interface_definitions op_mode_definitions check test j2lint vyshim + +.PHONY: check +.ONESHELL: +check: + @echo "Checking which CLI scripts are not enabled to work with vyos-configd..." + @for file in `ls src/conf_mode` + do + if ! grep -q $$file data/configd-include.json; then + echo "* $$file" + fi + done .PHONY: clean clean: -- cgit v1.2.3