This is a solved problem. There are settings in the prefs file for what scripts to run before slave is loaded and after slave has quit, the example scripts already have shutdown/restart methods for Miami and Roadshow. Look in files S:WHDLoad#?
Thanks Kolla - I edited the WHDLoad startup scripts in s: uncommenting the entries for roadshow and SMBFS. At first it didn't work. Machine froze when I clicked any WHDLoad slave icon. Reboot. Then opened a shell and entered netshutdown. Machine froze.
Reboot.
I then went through my user-startup commenting out everything other than roadshow, MUI.
Reboot.
Opened a shell and entered netshutdown. Success.
Then edited s:User-startup and added back what I had commented out. One entry at a time followed by a reboot.
All fine until I uncommented the entries for VNC and stringsnip. Netshutdown froze. Leaving them commented out WHDLOad is working as I wanted it. All ok.
Weed.