snapshot: adjust url

This commit is contained in:
CN_SZTL 2020-04-08 01:58:42 +08:00
parent 3845f91dea
commit 476779aef8
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
5 changed files with 10 additions and 45 deletions

34
README
View File

@ -1,34 +0,0 @@
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
This is the buildsystem for the OpenWrt Linux distribution.
To build your own firmware you need a Linux, BSD or MacOSX system (case
sensitive filesystem required). Cygwin is unsupported because of the lack
of a case sensitive file system.
You need gcc, binutils, bzip2, flex, python3.5+, perl, make, find, grep, diff,
unzip, gawk, getopt, subversion, libz-dev and libc headers installed.
1. Run "./scripts/feeds update -a" to obtain all the latest package definitions
defined in feeds.conf / feeds.conf.default
2. Run "./scripts/feeds install -a" to install symlinks for all obtained
packages into package/feeds/
3. Run "make menuconfig" to select your preferred configuration for the
toolchain, target system & firmware packages.
4. Run "make" to build your firmware. This will download all sources, build
the cross-compile toolchain and then cross-compile the Linux kernel & all
chosen applications for your target system.
Sunshine!
Your OpenWrt Community
http://www.openwrt.org

View File

@ -1,7 +1,6 @@
# PROJECT OPENWRT
## This is a experimental item, use it under your own risk.
## The Source Code of OpenWrt Modified by CTCGFW
### Welcome to my Telegram Group: [@ctcgfw\_openwrt\_discuss](https://t.me/ctcgfw_openwrt_discuss).
## The Experimental Source Code of OpenWrt-Snapshot Modified by CTCGFW
### Welcome to our Telegram Group: [@ctcgfw\_openwrt\_discuss](https://t.me/ctcgfw_openwrt_discuss).
- - -
# How to make it
@ -25,7 +24,7 @@ sudo bash -c "bash <(curl -s https://build-scripts.project-openwrt.eu.org/init_b
## Clone the source
```bash
git clone https://github.com/project-openwrt/openwrt-latest && cd openwrt-latest
git clone -b master --single-branch https://github.com/project-openwrt/openwrt && cd openwrt
./scripts/feeds update -a && ./scripts/feeds install -a
```
@ -44,7 +43,7 @@ You'd better not use **root** to make it, or you may be not able to use.<br/>
Default login address: 192.168.1.1, username is **root** and password is **password**.
# Contributed
### See [CONTRIBUTED.md](https://github.com/project-openwrt/openwrt-latest/blob/master/CONTRIBUTED.md).
### See [CONTRIBUTED.md](https://github.com/project-openwrt/openwrt/blob/master/CONTRIBUTED.md).
# License
### [GNU General Public License v3.0](https://github.com/project-openwrt/openwrt-latest/blob/master/LICENSE).
### [GNU General Public License v3.0](https://github.com/project-openwrt/openwrt/blob/master/LICENSE).

View File

@ -1,4 +1,4 @@
src-git packages https://github.com/project-openwrt/packages-latest.git
src-git luci https://github.com/project-openwrt/luci-latest.git
src-git packages https://github.com/project-openwrt/packages.git
src-git luci https://github.com/project-openwrt/luci.git
src-git routing https://github.com/project-openwrt/routing.git
src-git telephony https://git.openwrt.org/feed/telephony.git

View File

@ -8,5 +8,5 @@
│ # │
│ " │
│─────────────────────────────────────────────────│
│ OpenWrt SNAPSHOT, Mod 20.04 By CTCGFW │
│ OpenWrt Snapshot, Mod 20.04 By CTCGFW │
└─────────────────────────────────────────────────┘

View File

@ -45,9 +45,9 @@ wifi up
sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release
echo "DISTRIB_REVISION=''" >> /etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT | Mod20.04 By CTCGFW'" >> /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt Snapshot | Mod20.04 By CTCGFW'" >> /etc/openwrt_release
sed -i 's/LuCI Master/LuCI SNAPSHOT/g' /usr/lib/lua/luci/version.lua
sed -i 's/LuCI Master/LuCI Snapshot/g' /usr/lib/lua/luci/version.lua
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
echo 'luciversion = "Mod20.04 by CTCGFW"' >> /usr/lib/lua/luci/version.lua