diff options
author | Aloisio Almeida Jr <aloisio.almeida@openbosssa.org> | 2008-04-08 11:36:47 -0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@openbossa.org> | 2008-10-23 17:18:55 -0300 |
commit | bdc8425d1721b673b458a64b1f18319d161cb1d1 (patch) | |
tree | 47d772dcb684911f445b55c930d8a4ec82acf664 /packages/mamona/udev-usbserial/80-usbconsole.rules | |
parent | 312828e632dce05a991b1e9342cbffe152c092a1 (diff) |
udev-usbserial: Adding package to add a rule to spawn getty on ttyUSB
Diffstat (limited to 'packages/mamona/udev-usbserial/80-usbconsole.rules')
-rw-r--r-- | packages/mamona/udev-usbserial/80-usbconsole.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/mamona/udev-usbserial/80-usbconsole.rules b/packages/mamona/udev-usbserial/80-usbconsole.rules new file mode 100644 index 0000000000..aa479b2916 --- /dev/null +++ b/packages/mamona/udev-usbserial/80-usbconsole.rules @@ -0,0 +1 @@ +BUS=="usb", KERNEL=="ttyUSB0", SUBSYSTEM=="tty", ACTION=="add", RUN+="/bin/sh -c 'while [ -e /dev/ttyUSB0 ]; do /sbin/getty 115200 ttyUSB0; done'" |