WindyOpenWRT/start.sh
2024-08-31 16:57:34 +08:00

10 lines
841 B
Bash

clear && git pull && \
./scripts/feeds update -a && \
rm -rf ./bin feeds/kenzok8/{base-files,dnsmasq,firewall*,fullconenat,libnftnl,nftables,ppp,opkg,ucl,upx,vsftpd*,miniupnpd-iptables,wireless-regdb} && \
./scripts/feeds install -a && \
cp ../lede-config ./.config && \
sed -i "s/textid1/$(grep "echo \"DISTRIB_REVISION=" ./package/lean/default-settings/files/zzz-default-settings | cut -d "'" -f2)/g" .config && \
sed -i "s/textid2/$(git rev-parse --short HEAD)/g" .config && \
sed -i "s/PKG_VERSION:=0.53.2/PKG_VERSION:=0.60.0/g" ./feeds/packages/net/frp/Makefile && \
sed -i "s/ff2a4f04e7732bc77730304e48f97fdd062be2b142ae34c518ab9b9d7a3b32ec/8feaf56fc3f583a51a59afcab1676f4ccd39c1d16ece08d849f8dc5c1e5bff55/g" ./feeds/packages/net/frp/Makefile && \
make defconfig && make download && make -j48 || make -j48 || make -j48 || make -j1 V=sc