You are not logged in.

#1 2005-07-04 15:50:47

]hp
Member
Registered: 2005-06-01
Posts: 12

rc.local and multi ignored?

hi.

i'm twiddling about trying to change my path variables for perl and a self compiled version of samba, when i put the statements into rc.local they used to work before i recently upgraded but now they are ignored!! what have i missed?

the statements i'm trying to include (preferably in rc.multi) are

PATH=$PATH:/usr/samba/bin
export PERL5LIB=loads/of/paths

i feel such a dummy.   sad 

thanks for any guidance.

john


"I've seldom tasted a finer custard than this."

Offline

#2 2005-07-04 17:27:56

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: rc.local and multi ignored?

This sort of thing should be added in the profile, I believe.

Make a new file in /etc/profile.d/ ... let's call it myprofile.sh. Add those lines to it, then make the script executable (chmod +x myprofile.sh). Now those lines will be run whenever somebody logs in.

Offline

#3 2005-07-05 08:23:50

]hp
Member
Registered: 2005-06-01
Posts: 12

Re: rc.local and multi ignored?

aha. yes, i've put the lines in there, and also added them to the little daemon script things i wrote and it seems to be working fine now.

thanks for that.  wink


"I've seldom tasted a finer custard than this."

Offline

Board footer

Powered by FluxBB