mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
ppp-on-up: support scripts with CRLF line breaks
This commit is contained in:
parent
ee928605df
commit
a26f78329a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
/ipv6/dhcp-client/release [ find where interface=$IntName !disabled ];
|
||||
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: ppp-on-up\n") ] do={
|
||||
:foreach Script in=[ /system/script/find where source~("\n# provides: ppp-on-up\r?\n") ] do={
|
||||
:local ScriptName [ /system/script/get $Script name ];
|
||||
:do {
|
||||
$LogPrint debug $ScriptName ("Running script: " . $ScriptName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue