mirror of
https://github.com/openwrt/packages.git
synced 2025-08-03 22:10:36 +00:00
Instead of /sys/devices/virtual/ubi which will no longer be available in future kernels, switch to /sys/class/ubi. While at it fix unrelated arithmetic syntax error by guarding the affected expression to not run on an empty string. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
528 B
528 B