in /etc/halevt/halevt.xml, find this section
Code: Select all
When a device get a mount point, it is passed to halevt-mount which can
record it. The property that changes is volume.is_mounted, and the action is
executed when the value of volume.is_mounted becomes true.
!-->
<halevt:Device match="hal.block.device & hal.block.is_volume = true & hal.volume.mount_point">
<halevt:Property name="hal.volume.is_mounted">
<halevt:Action value="true" exec="halevt-mount -s"/>
</halevt:Property>
</halevt:Device>
Code: Select all
<halevt:Action value="true" exec='rox"$hal.volume.mount_point$"'/>
The section should now look like this.
Code: Select all
When a device get a mount point, it is passed to halevt-mount which can
record it. The property that changes is volume.is_mounted, and the action is
executed when the value of volume.is_mounted becomes true.
!-->
<halevt:Device match="hal.block.device & hal.block.is_volume = true & hal.volume.mount_point">
<halevt:Property name="hal.volume.is_mounted">
<halevt:Action value="true" exec="halevt-mount -s"/>
<halevt:Action value="true" exec='rox"$hal.volume.mount_point$"'/>
</halevt:Property>
</halevt:Device>