10 lines
353 B
Bash
10 lines
353 B
Bash
#!/bin/bash
|
|
_udir=${HOME}/.session
|
|
_uscript=${_udir}/session_login
|
|
_log=${_udir}/session.log
|
|
_sdir=$(dirname "${BASH_SOURCE[0]}")
|
|
echo "${UID:-$(id -u)}:$(whoami) is running SETUP script in $_sdir for ${USER} sourcing ${_uscript}::$(date)" >> ${_sdir}/lightdm.log
|
|
if [[ -e ${_uscript} ]]; then
|
|
/bin/bash ${_uscript} 1>>${_log} 2>>${_log} || true
|
|
fi
|