/lib/udev/openct_serial is in openct 0.6.20-1.2ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh
test "$ACTION" = "add" || exit 0
test -n "$DEVNAME" || exit 0
test -e "/var/run/openct/status" || exit 0
if [ -n "$DEVNAME" ]
then
/usr/sbin/openct-control attach ccid serial $DEVNAME
exit 0
fi
|