#!/bin/sh

# 首次安装时确保服务自启动已启用
[ -x /etc/init.d/hubvpn ] && /etc/init.d/hubvpn enable

# 刷新 LuCI 菜单与 rpcd ACL 缓存
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache/ 2>/dev/null
/etc/init.d/rpcd reload 2>/dev/null || true

exit 0
