
Originally Posted by
kfurge
Your fundamental problem is that the /bin/sh on the router is not capable of running some of the more elaborate pre/post install scripts in the packages. In particular, I found that the newer ipkg scripts have fixed the problem with packages overriding their busybox counterparts. Unfortunately, these scripts require the wonderfulness of bash to execute properly.
My new firmware image coming out really soon solves this problem. I made an application that looks for a KCSHELL environment variable. If that environment variable is set, then calling /bin/sh executes the shell referenced by KCSHELL, normally /opt/bin/bash. If it is not set, then calling /bin/sh executes the busybox shell. This approach guarantees Asus compatibility and eliminates annoying problems like what you're experiencing.
- K.C.