Changeset 14740


Ignorieren:
Zeitstempel:
22.06.2018 16:29:14 (vor 3 Monaten)
Autor:
er13
Nachricht:

fwdu-tools: update AVM FTP urls

refs #2947

Ort:
trunk/tools
Dateien:
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/tools/fwdu

    r14130 r14740  
    2828    # BETA/Labor/LabRC 
    2929    if [ -n "$1" -a "$1" != "stable" -a "$1" != "s" ]; then 
    30         for url in ftp://ftp.avm.de/fritz.box/beta/ ftp://service.avm.de/Beta/; do 
     30        for url in ftp://ftp.avm.de/fritzbox/beta/{frisch-aus-der-entwicklung,wartung}; do 
    3131            wget -nv -m -A '*.zip' $url 
    3232            ( 
     
    4343    # stable 
    4444    if [ -z "$1" -o "$1" == "stable" -o "$1" == "s" ]; then 
    45         for url in ftp://ftp.avm.de/fritz.box/ ftp://service.avm.de/Downgrade/; do 
     45        for url in ftp://ftp.avm.de/fritzbox/ ftp://ftp.avm.de/archive/fritz.box/; do 
    4646            wget -nv -m -A '*.image' -R '*Powerline*,*powerline*,*Repeater*,*repeater*,*VoIP-Gateway*' $url 
    4747            find ${url#ftp://} -type f ! -name '*.image' -exec rm -f {} '+' 2>/dev/null 
     
    5050 
    5151    for file in $(find ftp.avm.de service.avm.de -type f); do 
    52         mv -f $file $(echo $file | sed -r -e 's,(ftp[.]avm[.]de/fritz.box/|service[.]avm[.]de/|firmware/),,g;s,/,--,g') 
     52        mv -f $file $(echo $file | sed -r -e 's,(ftp[.]avm[.]de/fritzbox/|ftp[.]avm[.]de/archive/fritz[.]box/|service[.]avm[.]de/|firmware/),,g;s,/,--,g') 
    5353    done 
    5454    rm -rf ftp.avm.de service.avm.de 2>/dev/null 
  • trunk/tools/fwdu-opensrc

    r14553 r14740  
    221221    # fetch ftp server content listing and save it to a file 
    222222    if [ -n "$DO_FETCH_LISTING" ]; then 
    223         listing="$(list_ftp_dir ftp.avm.de/fritz.box/)" 
    224         echo "$listing" > ftp.avm.de-fritz.box-$(get_current_timestamp).listing 
     223        listing="$(list_ftp_dir ftp.avm.de/fritzbox/)" 
     224        echo "$listing" > ftp.avm.de-fritzbox-$(get_current_timestamp).listing 
    225225    fi 
    226226 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.