mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-10 23:41:22 +00:00
~Add install_en.sh
This commit is contained in:
23
README.md
23
README.md
@@ -57,7 +57,7 @@ ShellCrash is designed to be compatible with the vast majority of network device
|
|||||||
|
|
||||||
> Install via wget (jsDelivr CDN source)
|
> Install via wget (jsDelivr CDN source)
|
||||||
```sh
|
```sh
|
||||||
export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master)' \
|
export url='https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@dev' \
|
||||||
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
||||||
&& bash /tmp/install.sh \
|
&& bash /tmp/install.sh \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
@@ -66,9 +66,7 @@ export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https:/
|
|||||||
> Or install via curl (Author's private source)
|
> Or install via curl (Author's private source)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export url='[https://gh.jwsc.eu.org/master](https://gh.jwsc.eu.org/master)' \
|
export url='https://gh.jwsc.eu.org/dev' && bash -c "$(curl -kfsSl $url/install_en.sh)" && . /etc/profile &> /dev/null
|
||||||
&& bash -c "$(curl -kfsSl $url/install_en.sh)" \
|
|
||||||
&& . /etc/profile &> /dev/null
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### :satellite: Router Device Installation
|
### :satellite: Router Device Installation
|
||||||
@@ -76,7 +74,7 @@ export url='[https://gh.jwsc.eu.org/master](https://gh.jwsc.eu.org/master)' \
|
|||||||
**Installation via `curl`:**
|
**Installation via `curl`:**
|
||||||
> GitHub Source (Recommended for overseas environments or environments with proxy access)
|
> GitHub Source (Recommended for overseas environments or environments with proxy access)
|
||||||
```sh
|
```sh
|
||||||
export url='[https://raw.githubusercontent.com/juewuy/ShellCrash/master](https://raw.githubusercontent.com/juewuy/ShellCrash/master)' \
|
export url='https://raw.githubusercontent.com/juewuy/ShellCrash/dev' \
|
||||||
&& sh -c "$(curl -kfsSl $url/install_en.sh)" \
|
&& sh -c "$(curl -kfsSl $url/install_en.sh)" \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
```
|
```
|
||||||
@@ -84,22 +82,20 @@ export url='[https://raw.githubusercontent.com/juewuy/ShellCrash/master](https:/
|
|||||||
> Or jsDelivr CDN source
|
> Or jsDelivr CDN source
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master)' \
|
export url='https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@dev' \
|
||||||
&& sh -c "$(curl -kfsSl $url/install_en.sh)" \
|
&& sh -c "$(curl -kfsSl $url/install_en.sh)" \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
```
|
```
|
||||||
|
|
||||||
> Or Author's private source
|
> Or Author's private source
|
||||||
```sh
|
```sh
|
||||||
export url='[https://gh.jwsc.eu.org/master](https://gh.jwsc.eu.org/master)' \
|
export url='https://gh.jwsc.eu.org/dev' && sh -c "$(curl -kfsSl $url/install_en.sh)" && . /etc/profile &> /dev/null
|
||||||
&& sh -c "$(curl -kfsSl $url/install_en.sh)" \
|
|
||||||
&& . /etc/profile &> /dev/null
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Installation via `wget`:**
|
**Installation via `wget`:**
|
||||||
> GitHub Source (Recommended for overseas environments or environments with proxy access)
|
> GitHub Source (Recommended for overseas environments or environments with proxy access)
|
||||||
```sh
|
```sh
|
||||||
export url='[https://raw.githubusercontent.com/juewuy/ShellCrash/master](https://raw.githubusercontent.com/juewuy/ShellCrash/master)' \
|
export url='https://raw.githubusercontent.com/juewuy/ShellCrash/dev' \
|
||||||
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
||||||
&& sh /tmp/install.sh \
|
&& sh /tmp/install.sh \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
@@ -107,7 +103,7 @@ export url='[https://raw.githubusercontent.com/juewuy/ShellCrash/master](https:/
|
|||||||
|
|
||||||
> Or jsDelivr CDN source
|
> Or jsDelivr CDN source
|
||||||
```sh
|
```sh
|
||||||
export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master)' \
|
export url='https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@dev' \
|
||||||
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
||||||
&& sh /tmp/install.sh \
|
&& sh /tmp/install.sh \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
@@ -117,7 +113,7 @@ export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https:/
|
|||||||
|
|
||||||
> Author's private HTTP beta source
|
> Author's private HTTP beta source
|
||||||
```sh
|
```sh
|
||||||
export url='[http://t.jwsc.eu.org](http://t.jwsc.eu.org)' \
|
export url='http://t.jwsc.eu.org' \
|
||||||
&& wget -q -O /tmp/install.sh $url/install_en.sh \
|
&& wget -q -O /tmp/install.sh $url/install_en.sh \
|
||||||
&& sh /tmp/install.sh \
|
&& sh /tmp/install.sh \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
@@ -129,9 +125,8 @@ export url='[http://t.jwsc.eu.org](http://t.jwsc.eu.org)' \
|
|||||||
```sh
|
```sh
|
||||||
# Install necessary dependencies
|
# Install necessary dependencies
|
||||||
apk add --no-cache wget openrc ca-certificates tzdata nftables iproute2 dcron
|
apk add --no-cache wget openrc ca-certificates tzdata nftables iproute2 dcron
|
||||||
|
|
||||||
# Execute installation command
|
# Execute installation command
|
||||||
export url='[https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master](https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@master)' \
|
export url='https://testingcf.jsdelivr.net/gh/juewuy/ShellCrash@dev' \
|
||||||
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
&& wget -q --no-check-certificate -O /tmp/install.sh $url/install_en.sh \
|
||||||
&& sh /tmp/install.sh \
|
&& sh /tmp/install.sh \
|
||||||
&& . /etc/profile &> /dev/null
|
&& . /etc/profile &> /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user