Help Needed: Modifying Luci's Configuration Menu to Hide Specific Items

Hello. I would like to modify the configuration menu of Luci. Specifically, I want to hide "Firewall" under "Status" in Luci's navigation menu. While I have found a way to remove "Status," I have been unsuccessful in removing one of the child menus under "Status." Could someone help me with this? Your assistance would be greatly appreciated. Thank you.

Remove the admin/status/nftables and/or admin/status/iptables entry from /usr/share/luci/menu.d/luci-mod-status.json


Thank you very much for your reply. Let's try it right now. Thank you very much

This was a very nice bone! Thanks!

I finally have my dumb AP LuCI menu with the ability to obfuscate/remove anything that isn’t needed.

1 Like

I did as you told, but the menu remains unchanged and only the content disappeared. It runs like the picture below. What should I do

I misjudged. The changes weren't reflected immediately, so the menu was still visible. The method above works well. Thank you!

For force reload menu:
rm -f /tmp/luci-indexcache* ; rm -rf /tmp/luci-modulecache ; luci-reload

1 Like

For full customization menu on building firmware look this patch:

1 Like

Thanks I didn't know there was a way to do this.
thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.