Installation and Initial Configuration 1-57
Modify UNIX Startup and Shutdown Scripts
Startup
AddUNIX and OnLine utility commands to theUNIX startup script that
perform the following steps:
1. Set theINFORMIXDIR environment variable to the full pathname of
the directory in which OnLine is installed. (If multiple versions of
OnLine are running on yourUNIX system, you must reset INFOR-
MIXDIR for each OnLine system that you initialize.)
2. Set thePA TH environment variable to include the $INFOR-
MIXDIR/bin directory.
3. Setthe TBCONFIG environment variable to the desired configuration
file.
4. Executetbinit, which starts OnLine and leaves it in online mode.
Examples of these commands for the C shell and Bourne shell follow:
C shell: setenv INFORMIXDIR/directory_name
setenv PATH $PATH:$INFORMIXDIR/bin
setenv TBCONFIG config_filename
tbinit
Bourne shell: INFORMIXDIR= /directory_name
export INFORMIXDIR
PATH=$PATH:$INFORMIXDIR/bin
export PATH
TBCONFIG=config_filename
export TBCONFIG
tbinit