[sanlock] 09/11: Move environment setup to a shell script