there are plenty of options...
probably the easiest/most flexible is:
add
Code:
if [ -e "/mnt/us/.bashrc" ]; then
. /mnt/us/.bashrc
fi
to the END of your /etc/profile then you have a nice R/W area to play in with minimal rootfs changes.
simply stuff your additions in the FAT .bashrc (that you then create)
I do that generally.
I would add that this is not a completely bullet-proof solution to exporting. just a best-start tool to save some time.
There may be resources that are missed, even libs from time to time seem to be missed.
But in the main it does the job I need.