aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-27 01:01:36 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-27 01:01:36 +0000
commit0fd52a323bcc589556c6784431119a5a79d94b00 (patch)
treea1e5ffb5f2c389874b3dadc6910421c3e3e32a98 /etc
parentdea9006404ee6ac5f3feaf45e00897106b692303 (diff)
downloadplptools-0fd52a323bcc589556c6784431119a5a79d94b00.tar.gz
plptools-0fd52a323bcc589556c6784431119a5a79d94b00.tar.bz2
plptools-0fd52a323bcc589556c6784431119a5a79d94b00.zip
Fix add rule.
Diffstat (limited to 'etc')
-rw-r--r--etc/udev-usbserial-plptools.rules5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/udev-usbserial-plptools.rules b/etc/udev-usbserial-plptools.rules
index e503439..19b1870 100644
--- a/etc/udev-usbserial-plptools.rules
+++ b/etc/udev-usbserial-plptools.rules
@@ -1,5 +1,2 @@
-# 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=="add", SUBSYSTEMS=="usb-serial", DRIVERS=="pl2303", RUN+="/etc/init.d/plptools start"
ACTION=="remove", SUBSYSTEM=="usb-serial", RUN+="/etc/init.d/plptools stop"