Thanks very much. I found the script
usr/sbin/saveconfig
but it's a complicated beast.

I'd like to change it to add /mnt and it's subdirectories but it may be beyond me even though I've written a fair number of scripts.