global-config: fix regex to load overlay snippets

This commit is contained in:
Christian Hesse 2026-01-05 10:07:27 +01:00
parent 623f96d94a
commit 4af18ced9e

View file

@ -276,7 +276,7 @@
# #
# load custom settings from overlay and snippets # load custom settings from overlay and snippets
:foreach Script in=([ /system/script/find where name="global-config-overlay" ], \ :foreach Script in=([ /system/script/find where name="global-config-overlay" ], \
[ /system/script/find where name~"^global-config-overlay.d/" ]) do={ [ /system/script/find where name~"^global-config-overlay\\.d/." ]) do={
:onerror Err { :onerror Err {
/system/script/run $Script; /system/script/run $Script;
} do={ } do={