How I can I unmount a usbstick right from the script which does kill itself.Because i'm running the script from the stick it's not possible to just unmount it because theres always the error: device or ressource busy.So what is the easiest way: Should I execute a script on the machine through my script right before it kills itself?How can I accomplish this?
How to unmount an usb stick from a script which is on the usb stick?
shell script;usb