FreeRADIUS InkBridge

rmdir

The file.rmdir function removes a directory. If the directory exists and could be removed, it returns true. Otherwise if the directory does not exist, or if the directory could not be removed, it returns false.

Syntax

%file.rmdir(string)

Example 1. Removing a directory
%file.rmdir("/var/log/radius/auth")

File access restriction

Files accessed in this function are restricted by the limit files section in the main security configuration. If present in radiusd.conf, only files in the paths listed can be accessed.