16 lines
275 B
Bash
16 lines
275 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = "configure" ]; then
|
|
ldconfig
|
|
|
|
# Create log directory
|
|
LOGDIR="/opt/legatus/aar/../LOG"
|
|
if [ ! -e "${LOGDIR}" ]; then
|
|
mkdir -p "${LOGDIR}"
|
|
chown root:root "${LOGDIR}"
|
|
chmod 1777 "${LOGDIR}"
|
|
fi
|
|
fi
|
|
|
|
exit 0 |