#!/bin/sh set -e if [ "$1" = "configure" ]; then ldconfig # Create log directory LOGDIR="/opt/legatus/ws/../LOG" if [ ! -e "${LOGDIR}" ]; then mkdir -p "${LOGDIR}" chown root:root "${LOGDIR}" chmod 1777 "${LOGDIR}" fi # Make automount script executable if [ -f "/opt/legatus/ws/bin/automount.sh" ]; then chmod +x /opt/legatus/ws/bin/automount.sh fi fi exit 0