WDCommunity / wdpksrc

Cross compilation framework to create native packages for the Western Digital My Cloud
BSD 3-Clause "New" or "Revised" License
218 stars 57 forks source link

duplicati package: start-stop-status needs rewrite due to busybox limitations #5

Closed tonyrayo closed 6 years ago

tonyrayo commented 6 years ago

Busybox v1.20.2 (current default for latest official PR4100 firmware) was not compiled with the math function, therefore on startup, when start.sh goes to launch start-stop-status, it errors out.

line 102: syntax error: you disabled math support for $((arith)) syntax

stefaang commented 6 years ago

Fixed the shebang here: https://github.com/WDCommunity/wdpksrc/commit/16004c791f93f01a54e87f7bcbface986bdb72c4