aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/README.Debian3
-rw-r--r--etc/udev-usbserial-plptools.rules5
2 files changed, 6 insertions, 2 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
index db73139..9a72cf9 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,12 +1,11 @@
plptools for Debian
----------------------
-Built from the CVS version, extracted at 7:30 on 2 Nov 2001
This version defaults to connecting the Psion to /dev/ttyS0 - if you
connect to a different serial line you will need to change the plptools
init script (e.g. /etc/init.d/plptools if you use SV5 init)
-The debian version of plpnfsd mounts the Psion disks to /var/lib/plptools/mnt
+The Debian version of plpnfsd mounts the Psion disks to /var/lib/plptools/mnt
-- John Lines <john@paladin.demon.co.uk>, Sat Nov 10 13:10:45 GMT 2001
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"