staticsync-ssh-wrap: drop wheezy compatible rsync call in allowed list
authorPeter Palfrader <peter@palfrader.org>
Sat, 14 Sep 2019 13:24:29 +0000 (15:24 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 14 Sep 2019 14:16:05 +0000 (16:16 +0200)
modules/staticsync/files/staticsync-ssh-wrap

index 959b4f8..ec51c03 100755 (executable)
@@ -82,7 +82,6 @@ do_rsync_on_master() {
        local remote_host="$1"; shift
        local allowed_rsyncs
        allowed_rsyncs=()
-       allowed_rsyncs+=("--server --sender -vlHtrze.iLsf --safe-links .") # wheezy
        allowed_rsyncs+=("--server --sender -vlHtrze.iLsfx --safe-links .") # jessie
        allowed_rsyncs+=("--server --sender -vlHtrze.iLsfxC --safe-links .") # stretch
 
@@ -122,7 +121,6 @@ do_rsync_on_source() {
 
        if [ -e "$COMPONENTLIST" ]; then
                for path in $(awk -v host="$(hostname -f)" '!/^ *(#|$)/ && $3 == host {print $4}' $COMPONENTLIST); do
-                       allowed_rsyncs+=("--server --sender -lHtrze.iLsf --safe-links . $path/.") # wheezy
                        allowed_rsyncs+=("--server --sender -lHtrze.iLsfx --safe-links . $path/.") # jessie
                        allowed_rsyncs+=("--server --sender -lHtrze.iLsfxC --safe-links . $path/.") # stretch
                done