mirror of
https://github.com/openwrt/packages.git
synced 2026-06-01 15:32:05 +08:00
3d86716b4f
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>