Hey Joeaverage!
So I made the script (thanks!). Saved it to the storage folder and chmod the file.
I tried calling it and putty just returned "can't find the file". I tried moving that to the user folder (one level up) and couldn't do that as the file system is read-only.
I moved the sh file to the downloads folder and tried to run it there. Again, can't find file.
I'm not sure how to execute this.
Also, is it normal that stopping Kodi also kills all samba shares?
Once it's stopped I can't get to any files with my Win10 laptop.