diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index c9307eaa87..680663596f 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -52,7 +52,7 @@ define Package/autocore-arm/install $(INSTALL_DATA) ./files/arm/rpcd_10_system.js $(1)/etc/rpcd_10_system.js $(INSTALL_DIR) $(1)/etc/uci-defaults - $(INSTALL_BIN) ./files/arm/090-cover-index_files $(1)/etc/uci-defaults/090-cover-index_files + $(INSTALL_BIN) ./files/090-cover-index_files $(1)/etc/uci-defaults/090-cover-index_files $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) ./files/arm/cpuinfo $(1)/sbin/cpuinfo @@ -67,6 +67,9 @@ define Package/autocore-x86/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/x86/autocore $(1)/etc/init.d/autocore + $(INSTALL_DIR) $(1)/etc/uci-defaults + $(INSTALL_BIN) ./files/090-cover-index_files $(1)/etc/uci-defaults/090-cover-index_files + $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) ./files/x86/cpuinfo $(1)/sbin/cpuinfo $(INSTALL_BIN) ./files/x86/ethinfo $(1)/sbin/ethinfo diff --git a/package/lean/autocore/files/arm/090-cover-index_files b/package/lean/autocore/files/090-cover-index_files similarity index 100% rename from package/lean/autocore/files/arm/090-cover-index_files rename to package/lean/autocore/files/090-cover-index_files diff --git a/package/lean/autocore/files/x86/autocore b/package/lean/autocore/files/x86/autocore index cfcf9df8b7..b67cb69561 100755 --- a/package/lean/autocore/files/x86/autocore +++ b/package/lean/autocore/files/x86/autocore @@ -49,8 +49,4 @@ start() ethtool -K $c tso on >/dev/null 2>&1 ethtool -K $c ufo on >/dev/null 2>&1 done - - [ -f '/etc/rpcd_luci' ] && mv -f '/etc/rpcd_luci' '/usr/libexec/rpcd/luci' - [ -f '/etc/rpcd_luci-mod-status.json' ] && { mv -f '/etc/rpcd_luci-mod-status.json' '/usr/share/rpcd/acl.d/luci-mod-status.json'; /etc/init.d/rpcd restart; } - [ -f '/etc/rpcd_10_system.js' ] && mv -f '/etc/rpcd_10_system.js' '/www/luci-static/resources/view/status/include/10_system.js' }