From 89ac5e95a90e1884d6c859b04c58046fe7de019c Mon Sep 17 00:00:00 2001 From: R0GGER Date: Fri, 5 Aug 2016 13:10:43 +0200 Subject: [PATCH] Update update.sh --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index c54c852..61a5c7c 100644 --- a/update.sh +++ b/update.sh @@ -2,6 +2,10 @@ # Set time echo "${TIMEZONE}" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata + +# Set cron +rm -rf /etc/cron.*/run.sh +ln -s /wsus/run.sh /etc/cron.${CRON}/run.sh # Go to script's path as a start: BASEPATH="$(pwd)/wsusoffline"