FreeRADIUS InkBridge

Exists

The exists function is used to check if a file exists on the filesystem. This function returns true if a file exists, or false if the file does not exist.

Syntax

%file.exists(string)

Example 1. Checking if a file exists
if %file.exists("/var/log/radius.log") {
	# do things...
}