diff --git a/test/src/etc/profile b/test/src/etc/profile index 0f74a7b84..77cc00797 100644 --- a/test/src/etc/profile +++ b/test/src/etc/profile @@ -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 \ No newline at end of file +if [ -f /etc/profile.d/init.sh ]; then + . /etc/profile.d/init.sh +fi diff --git a/test/src/apps/scripts/init.sh b/test/src/etc/profile.d/init.sh similarity index 100% rename from test/src/apps/scripts/init.sh rename to test/src/etc/profile.d/init.sh