Link to home
Create AccountLog in
Avatar of uknet80
uknet80

asked on

environment variable can't set at reboot

under /etc/rc.local i have set below environment variable, when i restart redhat and essue (echo $KOHA_CONF), it is blank
any idea why is that

(((((((
touch /var/lock/subsys/local

export KOHA_CONF=/etc/koha/koha-conf.xml
export PERL5LIB=/usr/share/koha/lib
(((((
OS: RHEL5 (Red Hat Enterprise Linux Server release 5.4 (Tikanga))
SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of uknet80
uknet80

ASKER

best way was to create create koha.sh under /etc/profile

thanks