how to set environment variables in init.d/ scripts
Dear all,
I installed distcc. Distcc is invoked by a script in init.d. In order to use a cross compiler, the distcc needs to know the path of the cross compiler and other environment variable. I put lines like:
export VAR=xxx
in the script. Seems no effect. What's the correct method?
Best regards,
Yuwen
Reply to: