Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of uknet80
uknet80

ASKER

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

thanks