shell-base/setup/etc/profile.d/03-startup.sh

9 lines
313 B
Bash
Executable File

# this runs startups for bash shell base system
if [ "$SHELL" = "/bin/bash" ] && [ "${BASH_SHELL_STARTUP}" ]; then
# uncomment for debugging
if [[ -f $BASH_SHELL_STARTUP ]] && [[ $EUID -ne 0 ]]; then
llog "running startup script $BASH_SHELL_STARTUP async"
(${BASH_SHELL_STARTUP}) &
fi
fi