opkg: call sync before reboot
Add jsonrpc lua library