#!/bin/bash

	AY_SERVER="https://smt.campuslan.de"	

	# copy this file if newer
	cd /usr/local
	wget -N $AY_SERVER/scripts/copy_files.sh

	# copy anything located in /autoyast/campusLan if newer
	if [ ! -d /usr/local/campusLan ]; then
	   mkdir -p /usr/local/campusLan
	fi

	cd /usr/local/campusLan
	wget --cut-dir=2 -np -nH -r -N -R "index.html*" $AY_SERVER/autoyast/campusLan/

exit 0
