mirror of
https://github.com/R0GGER/docker-wsusoffline.git
synced 2026-11-11 17:19:28 +01:00
Update run.sh
This commit is contained in:
1 parent
7171aed31d
commit
ec2a14befa
1 file changed
+17
-8
@@ -1,20 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
# temp fix for hashdeep error wsusoffline 10.6.1
|
||||
rm -rf /app/wsusoffline/client/md/*
|
||||
#
|
||||
## SIMLINK
|
||||
# ln -s /wsus/run.sh /etc/my_init.d/run.sh
|
||||
# ln -s /wsus/run.sh /etc/cron.weekly/run.sh
|
||||
|
||||
#WSUS="/wsus"
|
||||
#SYSTEMS="all-61 all-63 all-100"
|
||||
#OFFICE="o2k13 o2k16"
|
||||
#LANGUAGE="nld"
|
||||
#PARAMS="/dotnet /msse /wddefs /wle /makeiso"
|
||||
#CRON="weekly"
|
||||
|
||||
cd $WSUS/ && ./update.sh
|
||||
sleep 10
|
||||
|
||||
for SYSTEMS in ${SYSTEMS}; do
|
||||
for LANGUAGE in ${LANGUAGE}; do
|
||||
cd /app/wsusoffline/sh && ./DownloadUpdates.sh ${SYSTEMS} ${LANGUAGE} ${PARAMS}
|
||||
cd $WSUS/wsusoffline/sh && ./DownloadUpdates.sh ${SYSTEMS} ${LANGUAGE} ${PARAMS}
|
||||
done
|
||||
done
|
||||
|
||||
# temp fix for hashdeep error wsusoffline 10.6.1
|
||||
rm -rf /app/wsusoffline/client/md/*
|
||||
#
|
||||
for OFFICE in ${OFFICE}; do
|
||||
for LANGUAGE in ${LANGUAGE}; do
|
||||
cd /app/wsusoffline/sh && ./DownloadUpdates.sh ${OFFICE} ${LANGUAGE}
|
||||
cd $WSUS/wsusoffline/sh && ./DownloadUpdates.sh ${OFFICE} ${LANGUAGE}
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user