#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# SecuBox UCI Defaults
# Copyright (C) 2025 CyberMind.fr

# Note: RPCD backend is now provided by secubox-core package

# Reload rpcd to register new methods
/etc/init.d/rpcd reload 2>/dev/null || true

# Clear LuCI cache to show new menus
rm -rf /tmp/luci-modulecache 2>/dev/null || true
rm -rf /tmp/luci-indexcache* 2>/dev/null || true

exit 0
