/system script add name=update-lists source={
:log info "Address lists update started";
/tool fetch url="/lists.php\?id=aws&name=dst-amazonaws" dst-path=aws.txt;
/tool fetch url="/lists.php\?id=facebook" dst-path=fb.txt;
/tool fetch url="/lists.php\?id=google" dst-path=google.txt;
/tool fetch url="/lists.php\?id=bso" dst-path=bso.txt;
/tool fetch url="/lists.php\?id=netflix" dst-path=netflix.txt;
/tool fetch url="/lists.php\?id=proceau" dst-path=proceau.txt;
/import file-name=aws.txt; /file remove aws.txt;
/import file-name=fb.txt; /file remove fb.txt;
/import file-name=google.txt; /file remove google.txt;
/import file-name=bso.txt; /file remove bso.txt;
/import file-name=netflix.txt; /file remove proceau.txt;
/import file-name=proceau.txt; /file remove netflix.txt;
:log info "Address lists updated";
}
forked from sledzik1984/mikrotik-address-lists
-
Notifications
You must be signed in to change notification settings - Fork 0
mfargnoli/mikrotik-address-lists
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%