diff options
Diffstat (limited to 'server/modules')
| -rw-r--r-- | server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent index 65634716..f6a295f2 100644 --- a/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent +++ b/server/modules/pam-freiburg/opt/openslx/scripts/pam_script_mount_persistent @@ -7,8 +7,6 @@ # under /home/<user>/PERSISTENT using kerberos. # -PERSISTENT_HOME_DIR="${TEMP_HOME_DIR}/PERSISTENT" - # Only run this if the user is a student # These have a gid > 1000 if [ $(id -g ${PAM_USER}) -ge 1000 ]; then @@ -36,7 +34,7 @@ if [ $(id -g ${PAM_USER}) -ge 1000 ]; then SIGNAL=$(mktemp) rm -f -- "${SIGNAL}" - (mount "${MOUNT_OPTS}" "${FILESERVER}:${VOLUME}" "${PERSISTENT_HOME_DIR}" || touch "${SIGNAL}") & + (mount ${MOUNT_OPTS} "${FILESERVER}:${VOLUME}" "${PERSISTENT_HOME_DIR}" || touch "${SIGNAL}") & MOUNT_PID=$! for COUNTER in 1 2 4 4; do kill -0 "${MOUNT_PID}" 2>/dev/null || break |
