blob: 2b474b9e0b1cb957526f63bfc5c816a2fc269231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# init module enviroment
shell=$(/bin/basename $(/bin/ps -p $$ -ocomm=))
if [ -f /usr/Modules/init/$shell ]; then
source /usr/Modules/init/$shell
else
source /usr/Modules/init/sh
fi
|