Operation of stored environment variables
The PATROL Agent inherits the environment of the shell in which it is started. The PATROL startup scripts, ./patrolrc.sh (Korn and Bourne shell) and ./.patrolrc (C shell), treat your user-defined shell script file as optional. If the user-defined shell script file exists, the startup script sources it after all other PATROL script processing. If it does not exist, the script continues. The startup script (patrolrc.sh and .patrolrc, respectively) is read by the ./Patrol and ./PatrolAgent scripts, which are usually used to start the console and agent, respectively.
To guarantee that the PATROL Agent and PATROL Console source the user-defined scripts (userrc.sh and .userrc) during startup, source the appropriate startup scripts (./patrol.sh and ./.patrolrc) before starting the agent and console.
Log in or register to comment.