From 5bc40c1e6c4b4ad5bc08e5b9c670dcdd6e0e6ec7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Aug 2022 23:47:10 +0800 Subject: [PATCH] update 2022-08-16 23:47:10 --- luci-app-oaf/root/etc/uci-defaults/91_luci-oaf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 luci-app-oaf/root/etc/uci-defaults/91_luci-oaf diff --git a/luci-app-oaf/root/etc/uci-defaults/91_luci-oaf b/luci-app-oaf/root/etc/uci-defaults/91_luci-oaf new file mode 100755 index 000000000..b9f5023ae --- /dev/null +++ b/luci-app-oaf/root/etc/uci-defaults/91_luci-oaf @@ -0,0 +1,13 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + del ucitrack.@appfilter[-1] + add ucitrack appfilter + set ucitrack.@appfilter[-1].exec="/usr/bin/oaf_rule reload" + commit ucitrack +EOF + +# remove LuCI cache +rm -rf /tmp/luci-indexcache /tmp/luci-modulecache + +exit 0