From 6be59f3a148b89b68d388313e7d6b052ae88e401 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 27 Nov 2007 00:12:29 +0000 Subject: Update README.Debian to correspond better to reality & English. Add sample udev rules file for serial devices. --- debian/README.Debian | 3 +-- etc/udev-usbserial-plptools.rules | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 etc/udev-usbserial-plptools.rules 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 , 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" -- cgit v1.2.3