diff --git a/copri4/mkaccess.sh b/copri4/mkaccess.sh index e349c0a..bcb0e06 100755 --- a/copri4/mkaccess.sh +++ b/copri4/mkaccess.sh @@ -33,14 +33,13 @@ for i in $(find . -type d -and -name cronjobs); do chown -R root:root $i/*;done -live_sharee="ginger" #sharee-primary and sharee-fr01 on ginger.copri.eu - +live_sharee="ginger" echo "You are on Server with hostname: $(hostname)"; echo ""; #sharee echo "KEEP in mind, SHAREE autoLinking is only done if $(hostname) == ${live_sharee}"; -echo "Checking payone links because of LIVE"; + if [[ $(hostname) == ${live_sharee} ]] then