generated from P3TERX/Actions-OpenWrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (c) 2019-2020 P3TERX <https://p3terx.com> | ||
# | ||
# This is free software, licensed under the MIT License. | ||
# See /LICENSE for more information. | ||
# | ||
#============================================================ | ||
# https://github.com/P3TERX/Actions-OpenWrt | ||
# File name: diy-part2.sh | ||
# Description: OpenWrt DIY script part 2 (After Update feeds) | ||
# | ||
# Lisence: MIT | ||
# Author: P3TERX | ||
# https://github.com/yfdoor/OpenWrt/blob/master/.github/workflows/OpenWrt-Build.yml | ||
#============================================================ | ||
|
||
# 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/192.168.1.1/192.168.1.254/g' package/base-files/files/bin/config_generate | ||
|
||
#custom your packages | ||
#git clone https://github.com/rufengsuixing/luci-app-adguardhome.git package/luci-app-adguardhome | ||
git clone -b master https://github.com/vernesong/OpenClash.git package/luci-app-openclash | ||
|
||
#svn co --force https://github.com/coolsnowwolf/lede/trunk/package/lean/luci-app-netdata package/luci-app-netdata && svn revert -R package/luci-app-netdata | ||
#svn co --force https://github.com/coolsnowwolf/lede/trunk/package/lean/luci-app-zerotier package/luci-app-zerotier && svn revert -R package/luci-app-zerotier | ||
#svn co --force https://github.com/coolsnowwolf/lede/trunk/package/lean/luci-app-softethervpn package/luci-app-softethervpn && svn revert -R package/luci-app-softethervpn | ||
#svn co --force https://github.com/kenzok8/openwrt-packages/trunk/luci-app-adguardhome package/luci-app-adguardhome && svn revert -R package/luci-app-adguardhome | ||
|
||
#passwall-package | ||
#git clone https://github.com/xiaorouji/openwrt-passwall.git package/passwall | ||
#mkdir -p tools/ucl && wget -P tools/ucl https://raw.githubusercontent.com/coolsnowwolf/lede/master/tools/ucl/Makefile | ||
#mkdir -p tools/upx && wget -P tools/upx https://raw.githubusercontent.com/coolsnowwolf/lede/master/tools/upx/Makefile | ||
#sed -i '/tools-$(CONFIG_TARGET_orion_generic)/atools-y += ucl upx' tools/Makefile | ||
#sed -i '/dependencies/a\\$(curdir)/upx/compile := $(curdir)/ucl/compile' tools/Makefile | ||
|
||
#update golang | ||
pushd feeds/packages/lang | ||
rm -rf golang && svn co https://github.com/openwrt/packages/trunk/lang/golang | ||
popd |