diff options
Diffstat (limited to 'backup.in')
-rwxr-xr-x | backup.in | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -192,6 +192,7 @@ fi echo $$ > "${pidFile}" if [ -n "${tunnelBefehl}" ]; then + preConnectHook ${tunnelBefehl} & backgroundPid=$! sleep 4 @@ -207,19 +208,23 @@ fi chmod 750 "${neues}"{,/wip} chown root:root "${neues}"{,/wip} if [ -z "${rsyncShell}" ]; then + preConnectHook rsync ${rsyncOptions} \ ${linkdests} \ ${excludeArgs} \ ${Quelle} "${neues}/wip/" sleep 1 + preConnectHook rsync ${Quelle} else + preConnectHook rsync "${rsyncShell}" \ ${rsyncOptions} \ ${linkdests} \ ${excludeArgs} \ ${Quelle} "${neues}/wip/" sleep 1 + preConnectHook rsync "${rsyncShell}" ${Quelle} fi erg=$? |