Move init.sh to /etc/profile.d
This commit is contained in:
parent
171b9803ad
commit
3eeee67cc4
|
|
@ -1,6 +1,6 @@
|
|||
# FIXME: Mounting FSes via /etc/profile is fragile (risk of multiple mounts from
|
||||
# login shells). Throw away this operation when we have a proper initial process.
|
||||
|
||||
if [ -f /test/init.sh ]; then
|
||||
. /test/init.sh
|
||||
fi
|
||||
if [ -f /etc/profile.d/init.sh ]; then
|
||||
. /etc/profile.d/init.sh
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue