Kodi Community Forum

Full Version: umount disk from home screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to be able to umount my USB disk from the home screen, is it possible?
Basically, I'd like to execute this

Code:
#!/bin/bash
umount /media/DISK4S1

(under sudo)
Use Advanced launcher and create a favourite.
Or just create a favourite to run your bash script via System.Exec:
Code:
<favourite name="Unmount USB disk">System.Exec(/path/to/your/bash-script.sh)</favourite>