fix(metablogizer): Add default UCI config for menu visibility
- Add /etc/config/metablogizer with default settings - Update Makefile to install config as conffile - Fixes 404 error when accessing MetaBlogizer in LuCI Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
bca0ba5ada
commit
2bf005f428
@ -18,7 +18,14 @@ PKG_LICENSE:=GPL-2.0
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
define Package/luci-app-metablogizer/conffiles
|
||||
/etc/config/metablogizer
|
||||
endef
|
||||
|
||||
define Package/luci-app-metablogizer/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./root/etc/config/metablogizer $(1)/etc/config/metablogizer
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
||||
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.metablogizer $(1)/usr/libexec/rpcd/luci.metablogizer
|
||||
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
config metablogizer 'main'
|
||||
option enabled '1'
|
||||
option nginx_container 'nginx'
|
||||
option sites_root '/srv/metablogizer/sites'
|
||||
Loading…
Reference in New Issue
Block a user