mirror of
https://github.com/darkclip/netlist.git
synced 2026-11-21 11:35:27 +08:00
update
This commit is contained in:
1 parent
556a23bb06
commit
ef0b0e400f
3 files changed
+30
-43
No files matched your search
@@ -7,7 +7,7 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/build-sha.yml'
|
||||
schedule:
|
||||
- cron: '0 16 * * *'
|
||||
- cron: '10 16 * * *'
|
||||
|
||||
jobs:
|
||||
build-sha:
|
||||
@@ -27,15 +27,8 @@ jobs:
|
||||
- name: Checkout reference branch 1
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: gaoyifan/china-operator-ip
|
||||
ref: ip-lists
|
||||
ref: net
|
||||
path: ref1
|
||||
- name: Checkout reference branch 2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 17mon/china_ip_list
|
||||
ref: master
|
||||
path: ref2
|
||||
- name: Checkout target branch
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -57,7 +50,7 @@ jobs:
|
||||
echo 'ip route add 128.0.0.0/1 dev wgcf || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add ::/1 dev wgcf || true' >> target/wgcf-up.sh
|
||||
echo 'ip route add 8000::/1 dev wgcf || true' >> target/wgcf-up.sh
|
||||
./netgen.py ref2/china_ip_list.txt -o target/wgcf-up.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py ref1/china4.txt -o target/wgcf-up.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py ref1/china6.txt -o target/wgcf-up.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||
./netgen.py private4.txt -o target/wgcf-up.sh -p 'ip route add ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py private6.txt -o target/wgcf-up.sh -p 'ip route add ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||
@@ -72,7 +65,7 @@ jobs:
|
||||
echo 'ip route del 128.0.0.0/1 dev wgcf || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del ::/1 dev wgcf || true' >> target/wgcf-down.sh
|
||||
echo 'ip route del 8000::/1 dev wgcf || true' >> target/wgcf-down.sh
|
||||
./netgen.py ref2/china_ip_list.txt -o target/wgcf-down.sh -p 'ip route del ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py ref1/china4.txt -o target/wgcf-down.sh -p 'ip route del ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py ref1/china6.txt -o target/wgcf-down.sh -p 'ip route del ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||
./netgen.py private4.txt -o target/wgcf-up.sh -p 'ip route del ' -s $' dev eth0 via 10.11.0.1 || true\n'
|
||||
./netgen.py private6.txt -o target/wgcf-up.sh -p 'ip route del ' -s $' dev eth0 via fe80::6a77:24ff:fed6:809d || true\n'
|
||||
|
||||
Reference in new issue
Block a user