I'm not familiar with the opkgscript.sh script but see this post:
for an excellent way to get the list of added packages. You'll want to get and run the pkg-scan.shscript from @efahl at his github page. That referenced post also points to another forum thread with more discussion.