-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathprepareCompile.sh
54 lines (48 loc) · 1.19 KB
/
prepareCompile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#/bin/sh
disablePkgsList="
./feeds/pw/chinadns-ng
./feeds/pw/ipt2socks
./feeds/lienol/luci-app-ipsec-server
./package/lean/luci-app-kodexplorer
./package/lean/luci-lib-docker
./package/lean/luci-app-dockerman
./package/lean/kcptun
./package/lean/luci-theme-argon
./package/lean/v2ray
./package/lean/v2ray-plugin
./package/lean/xray
./package/lean/luci-app-jd-dailybonus
./package/lean/luci-app-docker
./feeds/packages/utils/docker-compose
./feeds/packages/net/miniupnpd
./feeds/packages/net/mwan3
./feeds/packages/utils/docker-ce
./feeds/packages/utils/containerd
./feeds/packages/utils/libnetwork
./feeds/packages/utils/tini
./feeds/packages/utils/runc
./feeds/packages/net/dnscrypt-proxy2
./feeds/packages/net/https-dns-proxy
./feeds/packages/net/kcptun
./feeds/packages/net/smartdns
./feeds/packages/net/xtables-addons
./feeds/luci/applications/luci-app-sqm
"
function disableDulicatedPkg()
{
if [ -d $1 ];then
rm -rf $1
echo $1" Disabled."
fi
}
./scripts/feeds update -a
for disablePkg in $disablePkgsList
do
disableDulicatedPkg $disablePkg
done
./scripts/feeds update -i
./scripts/feeds install -a
if [ ! -f .config ];then
cp defconfig .config
echo "Default .config created."
fi