I discovered this simple trick, if you need a quick and dirty method to run Entware-ng or Optware-ng programs directly off your router /jffs folder. The patchelf program is capable of changing the run path and library path inside the ELF header of an ARM binary executable image. For example, it's lets you change /opt/lib to /jffs/lib inside an ARM executable program or library, so you can file copy the program from /opt to /jffs and it will run from /jffs...
HOWTO: Relocate ARM ELF binaries to run from the router /jffs folder
HOWTO: Relocate ARM ELF binaries to run from the router /jffs folder