Update dauert jedesmal ca. 8h (Raspberry Pi)
Posted: 27.12.2017, 00:56
Ich verwende folgendes Script um die aktuellen Downloads runterzuladen.
Das dauert aber jedesmal ca. 8h.
Ist das normal?
Ich habe eine 200mbit Leitung (Pi kann aber nur 100).
Ordner ist ein NFS mount meines NAS.
Das müsste aber doch trotzdem schneller gehen oder?
Oder werden hier jedesmal auch die bereits vorhandenen Updates nochmal runtergeladen?
Al
- Code: Select all
#!/bin/bash
WSUSOFFLINE_DIR=/media/wsusoffline
[ -z "$WSUSOFFLINE_DIR" ] && WSUSOFFLINE_DIR=$(cd "`dirname $0`" ; echo $PWD)
DOWNLOAD_SCRIPT="$WSUSOFFLINE_DIR/sh/DownloadUpdates.sh"
DATE_START="`date`"
function die() {
[ -n "$1" ] && echo "$1"
exit 1
}
for l in deu; do
echo "starting download of windows-updates (64bit, $l)"
/bin/bash $DOWNLOAD_SCRIPT all-x64 $l /dotnet /msse /wddefs || die "error downloading windows-updates (64bit, $l)"
echo "starting download of windows-updates (32bit, $l)"
/bin/bash $DOWNLOAD_SCRIPT all-x86 $l /dotnet /msse /wddefs || die "error downloading windows-updates (32bit, $l)"
echo "starting download of office-updates ($l)"
/bin/bash $DOWNLOAD_SCRIPT ofc $l || die "error downloading office-updates ($l)"
done
DATE_END="`date`"
echo "started : $DATE_START"
echo "finished: $DATE_END"
Das dauert aber jedesmal ca. 8h.
Ist das normal?
Ich habe eine 200mbit Leitung (Pi kann aber nur 100).
Ordner ist ein NFS mount meines NAS.
Das müsste aber doch trotzdem schneller gehen oder?
Oder werden hier jedesmal auch die bereits vorhandenen Updates nochmal runtergeladen?
Al