luci-base: sys.uc: increase init script START/STOP search space
authorJo-Philipp Wich <jo@mein.io>
Mon, 26 Sep 2022 08:50:40 +0000 (10:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Oct 2022 23:03:37 +0000 (01:03 +0200)
commit60a9f019780f43a1b9d198451bd20ee8ae66f2aa
tree7fcf63a9fb165f47201e3028f2ec2b0f33f44185
parent7e30a5e11e35a9f1f6de68842b3a3f20faf59c17
luci-base: sys.uc: increase init script START/STOP search space

Some init scripts, such as the sysfsutils one, declare their START or
STOP variables very late in the file. Duplicate the search buffer to
2048 byte in order to catch these cases.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/ucode/sys.uc