>   Is there a command equivalent to "env" to check all available
>environment variables?
>
Hi,
The command printenv will  give you a list of the current environment 
variables. To see what environment the shell running multicron-p has 
add the line echo `printenv` >> /etc/env.out to the multicron-p file 
like this. Note that I am using back-tics and not single quotes.

pingcheck () {
[ "$lrp_PING_HOSTS" = "" ] && return 0
echo `printenv` >> /etc/env.out

The output of printenv will be in the file env.out.

Hope this helps,
    Robert Williams

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to