mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-20 17:15:48 +02:00
backup-email: check for .conf file
This commit is contained in:
parent
a2f837be59
commit
43bac7c33c
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@
|
|||
# wait for the mail to be sent
|
||||
:do {
|
||||
:retry {
|
||||
:if ([ $FileExists ($FilePath . ".backup") "backup" ] = true || \
|
||||
:if ([ $FileExists ($FilePath . ".conf") ".conf file" ] = true || \
|
||||
[ $FileExists ($FilePath . ".backup") "backup" ] = true || \
|
||||
[ $FileExists ($FilePath . ".rsc") "script" ] = true) do={
|
||||
:error "Files are still available.";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue