aboutsummaryrefslogtreecommitdiffstats
path: root/ppp-on-up.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-07-16 12:42:24 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-07-16 13:50:22 +0200
commita26f78329a1e941fcab969611ffbb83af4f2ea01 (patch)
treeb6acc11e40db9d642e85945a60491b5e158d162f /ppp-on-up.rsc
parentee928605df642ab9f917dd1e65f85f7cb09e8192 (diff)
ppp-on-up: support scripts with CRLF line breaks
Diffstat (limited to 'ppp-on-up.rsc')
-rw-r--r--ppp-on-up.rsc2
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);