Quote Originally Posted by IMM22 View Post
...
export PATH=/opt/bin:${PATH} export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
...
mount -o bind /shares/${pool}/opt /optcat /proc/mounts > /opt/etc/fstab
If these two lines are indeed concatinated as shown, things won't work very well. Break them apart at the appropriate spots. The mount must work to get a functional /opt.

Also, you're multiply exporting PATH and LD_LIBRARY_PATH in both scripts. No harm, I think, but you only need to do it once.

Otherwise, things looked OK.

- K.C.