-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdiy.sh
34 lines (27 loc) · 1.26 KB
/
diy.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
#!/bin/bash
# 本脚本工作目录必须是git仓库的主目录
# Add Some Package
cd package
git clone https://github.com/PearInc/openwrt_docker.git
mv openwrt_docker docker
cd ../
mkdir -p package/custom
cd package/custom
# git clone https://github.com/coolsnowwolf/packages
git clone https://github.com/kenzok8/small
git clone https://github.com/kenzok8/openwrt-packages
git clone https://github.com/Lienol/openwrt-package
git clone https://github.com/fw876/helloworld
git clone https://github.com/openwrt-develop/luci-theme-atmaterial
git clone https://github.com/vernesong/OpenClash
git clone https://github.com/tty228/luci-app-serverchan
git clone https://github.com/rufengsuixing/luci-app-adguardhome
git clone https://github.com/pymumu/luci-app-smartdns
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon
cd ../../
# Modify default IP
sed -i 's/192.168.1.1/10.0.0.1/g' package/base-files/files/bin/config_generate
sed -i 's/192.168/10.0/g' package/base-files/files/bin/config_generate
# Add some default settings
#\cp -rf ../lede/zzz-default-settings package/lean/default-settings/files/zzz-default-settings
curl -fsSL https://raw.githubusercontent.com/linhailan/myActions/master/zzz-default-settings > package/lean/default-settings/files/zzz-default-settings