:if ($tmpfs = true) do={
:put "Tmpfs variable is true. Checking for tmpfs/scripts directory...";
:if ([/file find name="tmpfs/scripts"] != "") do={
- :log debug ($0 . "Directory tmpfs/scripts exsist.");
+ :log info ($0 . "Directory tmpfs/scripts exsist.");
:return $true;
} else={
+ :log warning ($0 . "Directory tmpfs/scripts does't exsist.");
:if ([ $MkTmpfs ] = false) do={
+ :log error ($0 . "Directory tmpfs/scripts is not created!");
:return false;
}
# :log error ($0 . "Directory tmpfs/scripts does not exsist. Remove global variable tmpfs!");