source:
trunk/etc/openct_serial.in
@
1043
| Revision 1043, 214 bytes checked in by alonbl, 4 years ago (diff) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | test "$ACTION" = "add" || exit 0 |
| 4 | test -n "$DEVNAME" || exit 0 |
| 5 | test -e "@OPENCT_SOCKET_PATH@/status" || exit 0 |
| 6 | |
| 7 | if [ -n "$DEVNAME" ] |
| 8 | then |
| 9 | @sbindir@/openct-control attach ccid serial $DEVNAME |
| 10 | exit 0 |
| 11 | fi |
Note: See TracBrowser
for help on using the repository browser.
