HEX
Server: Apache
System: Linux host35.server.ae 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: nokatech (2100)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/lsw-postinstall
#!/usr/bin/env bash

echo "Running lsw-postinstall scripts"

for FILE in /opt/lsw-postinstall.d/*
do
    echo "==> Running ${FILE}"
    if [ -x "${FILE}" ]
    then
        ${FILE}
        EXITCODE=$?
    else
        bash "${FILE}"
        EXITCODE=$?
    fi

    echo "==> Done Running ${FILE} with exit code ${EXITCODE}"
done

echo "All done!"