File: hotplug.openct.in

package info (click to toggle)
openct 0.6.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,788 kB
  • ctags: 1,694
  • sloc: ansic: 15,729; sh: 8,596; xml: 651; makefile: 193
file content (8 lines) | stat: -rw-r--r-- 138 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

test "$ACTION" = "add" || exit 0

if [ -e /var/run/openct/status ]
then
	SBINDIR/openct-control attach $DEVICE usb:$PRODUCT
fi