diff options
author | Christian Hesse <mail@eworm.de> | 2024-07-16 12:42:24 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-16 13:50:22 +0200 |
commit | a26f78329a1e941fcab969611ffbb83af4f2ea01 (patch) | |
tree | b6acc11e40db9d642e85945a60491b5e158d162f | |
parent | ee928605df642ab9f917dd1e65f85f7cb09e8192 (diff) |
ppp-on-up: support scripts with CRLF line breaks
-rw-r--r-- | ppp-on-up.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppp-on-up.rsc b/ppp-on-up.rsc index 4ed92c5..6484ecb 100644 --- a/ppp-on-up.rsc +++ b/ppp-on-up.rsc @@ -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); |