forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 186
/
prepareCompile.sh
executable file
·48 lines (42 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
#/bin/sh
disablePkgsList="
./feeds/packages/net/mosdns
./feeds/packages/net/adguardhome
./feeds/packages/net/dnscrypt-proxy2
./feeds/packages/net/smartdns
./feeds/packages/net/pdnsd-alt
./feeds/packages/net/microsocks
./feeds/packages/net/dns2socks
./feeds/packages/net/softethervpn5
./feeds/luci/applications/luci-app-sqm
./feeds/luci/applications/luci-app-nft-qos
./feeds/luci/applications/luci-app-kodexplorer
./feeds/luci/applications/luci-app-ipsec-server
./feeds/luci/applications/luci-app-serverchan
./feeds/luci/applications/luci-app-pptp-server
./feeds/luci/applications/luci-app-pppoe-relay
./feeds/luci/applications/luci-app-guest-wifi
./feeds/luci/applications/luci-app-ramfree
./feeds/luci/applications/luci-app-netdata
./feeds/luci/applications/luci-app-accesscontrol
./feeds/luci/collections/luci-lib-docker
./feeds/luci/themes/luci-theme-argon
"
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