aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-27 00:12:29 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-27 00:12:29 +0000
commit6be59f3a148b89b68d388313e7d6b052ae88e401 (patch)
tree7b015cdaca775b2373d806d9fe4b759f99204fed /etc
parent9c2ad295197697ea49bbb4447cdb02bbfae7f6a1 (diff)
downloadplptools-6be59f3a148b89b68d388313e7d6b052ae88e401.tar.gz
plptools-6be59f3a148b89b68d388313e7d6b052ae88e401.tar.bz2
plptools-6be59f3a148b89b68d388313e7d6b052ae88e401.zip
Update README.Debian to correspond better to reality & English.
Add sample udev rules file for serial devices.
Diffstat (limited to 'etc')
-rw-r--r--etc/udev-usbserial-plptools.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/udev-usbserial-plptools.rules b/etc/udev-usbserial-plptools.rules
new file mode 100644
index 0000000..e503439
--- /dev/null
+++ b/etc/udev-usbserial-plptools.rules
@@ -0,0 +1,5 @@
+# udev rules to start and stop plptools when USB serial device is
+# added/removed
+
+ACTION=="add", SUBSYSTEM=="usb-serial", RUN+="/etc/init.d/plptools start"
+ACTION=="remove", SUBSYSTEM=="usb-serial", RUN+="/etc/init.d/plptools stop"