|
@@ -31,7 +31,6 @@ sed -i 's/max_requests 3/max_requests 20/g' package/network/services/uhttpd/file
|
|
|
#rm -rf ./feeds/packages/lang/{golang,node}
|
|
|
sed -i 's?admin/status/channel_analysis??' package/feeds/luci/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json
|
|
|
sed -i "s/askfirst/respawn/g" `find package target -name inittab`
|
|
|
-sed -i 's/$(VERSION) &&/$(VERSION) ;/g' include/download.mk
|
|
|
date=`date +%m.%d.%Y`
|
|
|
sed -i "s/DISTRIB_DESCRIPTION.*/DISTRIB_DESCRIPTION=\"%D %C by Kiddin'\"/g" package/base-files/files/etc/openwrt_release
|
|
|
sed -i "s/CONFIG_VERSION_CODE=.*/CONFIG_VERSION_CODE=\"$date\"/g" devices/common/.config
|
|
@@ -45,12 +44,6 @@ sed -i \
|
|
|
-e 's?../../lang?$(TOPDIR)/feeds/packages/lang?' \
|
|
|
package/feeds/custom/*/Makefile
|
|
|
|
|
|
-for ipk in $(ls -d package/feeds/custom/*); do
|
|
|
- if [[ ! -d "$ipk/patches" ]]; then
|
|
|
- sed -i "s/PKG_SOURCE_VERSION:=[0-9a-z]\{7,\}/PKG_SOURCE_VERSION:=HEAD/g" !(luci-app*)/Makefile
|
|
|
- fi
|
|
|
-done
|
|
|
-
|
|
|
(
|
|
|
if [ -f sdk.tar.xz ]; then
|
|
|
sed -i 's,$(STAGING_DIR_HOST)/bin/upx,upx,' package/feeds/custom/*/Makefile
|