3
votes
1answer
248 views

dpkg with no shell

How to run dpkg without shell? Here is my problem: I made and autorun.sh script in my USB key. To run this script, I created rules in /etc/udev/rules/49-usb-rules: SUBSYSTEM=="block", ...
4
votes
0answers
932 views

Run script AFTER automounting usb hdd (udev, mount --bind) [duplicate]

Possible Duplicate: How to run a script when a distinct flash-drive is mounted? When plugging-in my USB HDD, it is mounted automatically, as expected. After that event, I'd like to ...
14
votes
4answers
5k views

How to run a script when a distinct flash-drive is mounted?

Is there a way to run a script when a specific USB device is mounted? I keep my videos on a separate USB and would like to run a script that would mount the video folder on the USB device to the one ...