From 70f6e01ace50d4cbc46ef03485abc986dd72cdd8 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sat, 16 Dec 2017 20:41:11 +0000 Subject: [PATCH] pkg: invalidate the ACL and menu cache (cherry picked from commit 1fe38a15e57837f191f0bd9507e09a47c49723a5) (cherry picked from commit 64c8f55cdbf46a71154ddba05824bdfc4be7b758) --- Mk/plugins.mk | 4 ++++ Templates/configure | 1 + 2 files changed, 5 insertions(+) create mode 100644 Templates/configure diff --git a/Mk/plugins.mk b/Mk/plugins.mk index 4d7595e09..556c904ba 100644 --- a/Mk/plugins.mk +++ b/Mk/plugins.mk @@ -130,6 +130,10 @@ scripts-auto: sed "s:%%ARG%%:$${FILE#./}:g" >> \ ${DESTDIR}/+POST_INSTALL; \ done; \ + for SCRIPT in +POST_INSTALL +POST_DEINSTALL; do \ + cat ${TEMPLATESDIR}/configure >> \ + ${DESTDIR}/$${SCRIPT}; \ + done; \ fi @if [ -d ${.CURDIR}/src/opnsense/service/templates ]; then \ for FILE in $$(cd ${.CURDIR}/src/opnsense/service/templates && \ diff --git a/Templates/configure b/Templates/configure new file mode 100644 index 000000000..956bf71a0 --- /dev/null +++ b/Templates/configure @@ -0,0 +1 @@ +/usr/local/etc/rc.configure_plugins