mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
Revert "begin to sync new openwrt and stop the old one"
This reverts commit 227b3207807e3687b645315dd69534c9a2449f33.
This commit is contained in:
parent
227b320780
commit
93692652dd
@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CURRENT_STABLE_RELEASES="17.01.5 18.06.0"
|
|
||||||
|
|
||||||
function sync_openwrt() {
|
function sync_openwrt() {
|
||||||
repo_url="$1"
|
repo_url="$1"
|
||||||
repo_dir="$2"
|
repo_dir="$2"
|
||||||
@ -12,5 +10,4 @@ function sync_openwrt() {
|
|||||||
lftp "${repo_url}/" -e "mirror --verbose -P 5 --only-newer --exclude-glob *.ipk; bye"
|
lftp "${repo_url}/" -e "mirror --verbose -P 5 --only-newer --exclude-glob *.ipk; bye"
|
||||||
}
|
}
|
||||||
|
|
||||||
#sync_openwrt "http://downloads.openwrt.org/chaos_calmer/15.05.1" "${TUNASYNC_WORKING_DIR}/chaos_calmer/15.05.1"
|
sync_openwrt "http://downloads.openwrt.org/chaos_calmer/15.05.1" "${TUNASYNC_WORKING_DIR}/chaos_calmer/15.05.1"
|
||||||
for release in $CURRENT_STABLE_RELEASES; do sync_openwrt "http://downloads.openwrt.org/releases/$release/targets" "${TUNASYNC_WORKING_DIR}/release/$release"; done
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user