![]() |
lauch script when oth is removed or installed
hello, is someone know how to launch a script when the oth is removed or installed ?
thanks :cool: |
Re: lauch script when oth is removed or installed
I dont know how it took so long to understand your post. :p
But I would like to know too. Maybe some day I find some use for it. |
Re: lauch script when oth is removed or installed
You can watch D-Bus for the signals and take actions on it. Look for com.jolla.tohd on the system bus.
|
Re: lauch script when oth is removed or installed
Quote:
this is what i've done with my sd card: mount: /dev/mmcblk1 on /data/sdcard type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Videos type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Desktop type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Documents type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Downloads type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Music type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Pictures type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Public type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) /dev/mmcblk1 on /home/nemo/Templates type btrfs (rw,relatime,thread_pool=4,compress=zlib,ssd,noacl ,space_cache) now, i want to unmount and mount my sdcard when i put the other half on and off, for not having a corrupt filesystem ;) |
All times are GMT. The time now is 21:44. |
vBulletin® Version 3.8.8