Explicitly invoking bash in the scripts as above worked for me. But I also had to change the script mount lines to refer to usbfs not usbdevfs.
Explicitly invoking bash in the scripts as above worked for me. But I also had to change the script mount lines to refer to usbfs not usbdevfs.