-
Notifications
You must be signed in to change notification settings - Fork 43
/
x64稳定版.sh
executable file
·19 lines (19 loc) · 980 Bytes
/
x64稳定版.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Modify default IP
#sed -i 's/192.168.1.1/192.168.50.5/g' package/base-files/files/bin/config_generate
#修改版本号
sed -i 's/OpenWrt/Bin AutoBuild $(date "+%Y.%m.%d") @ OpenWrt/g' package/lean/default-settings/files/zzz-default-settings
#移除不用软件包
rm -rf package/lean/luci-app-dockerman
#添加额外软件包
git clone https://github.com/tty228/luci-app-serverchan.git package/luci-app-serverchan
git clone https://github.com/KFERMercer/luci-app-dockerman.git package/luci-app-dockerman
git clone https://github.com/bin20088/luci-app-koolddns.git package/luci-app-koolddns
git clone https://github.com/bin20088/luci-theme-butongwifi.git package/luci-theme-butongwifi
#添加神秘代码
svn co https://github.com/bin20088/lede/trunk/files
./scripts/feeds update -a
./scripts/feeds install -a
#赋予koolddns权限
chmod 0755 package/luci-app-koolddns/root/etc/init.d/koolddns
chmod 0755 package/luci-app-koolddns/root/usr/share/koolddns/aliddns