source: trunk/etc/openct_serial.in @ 1043

Revision 1043, 214 bytes checked in by alonbl, 4 years ago (diff)

Fixup etc substitutions

Line 
1#!/bin/sh
2
3test "$ACTION" = "add" || exit 0
4test -n "$DEVNAME" || exit 0
5test -e "@OPENCT_SOCKET_PATH@/status" || exit 0
6
7if [ -n "$DEVNAME" ]
8then
9        @sbindir@/openct-control attach ccid serial $DEVNAME
10        exit 0
11fi
Note: See TracBrowser for help on using the repository browser.