[haiku-development] Re: Environment Variables Behavior On Haiku
- From: waddlesplash <waddlesplash@xxxxxxxxx>
- To: Haiku Development ML <haiku-development@xxxxxxxxxxxxx>
- Date: Tue, 9 Mar 2021 15:59:11 -0500
On Tue, Mar 9, 2021 at 3:20 PM Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
If you look into the /system/data/user_launch/user file, the second row
reads like:
env /system/boot/SetupEnvironment
This just executes that shell script. The same as before the launch_daemon.
The problem is that the user-related environment variables (USER,
GROUP, XDG_* ...) are initialized in /etc/profile, not in anything run
by launch_daemon.
-waddlesplash
Other related posts: