summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-26 07:21:34 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-26 07:23:04 +0200
commit43e3c6bb22942276f513b840078d7c84066c3c3a (patch)
treee539aa44a521aeb0ee6ac16036feb71ae7c31488 /Makefile
parent7d5d19e032c32d092f6003d7705f1806680d3405 (diff)
downloadvyos-1x-43e3c6bb22942276f513b840078d7c84066c3c3a.tar.gz
vyos-1x-43e3c6bb22942276f513b840078d7c84066c3c3a.zip
Makefile: check which CLI scripts are not enabled to work with vyos-configd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
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: