Your IP : 216.73.216.171


Current Path : /opt/
Upload Files:
Current 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!"