#!/bin/sh
# 清 LuCI 缓存 + 让 rpcd 重读 ACL,新菜单下一次请求就出现。
# 不 reload uhttpd:iStore 网页装包的请求正经它走,重载会把安装请求掐断。
rm -f /tmp/luci-indexcache /tmp/luci-indexcache.*
rm -rf /tmp/luci-modulecache/
/etc/init.d/rpcd reload 2>/dev/null || true
exit 0
