File: gpib_udev_config

package info (click to toggle)
linux-gpib-user 4.3.7-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,760 kB
  • sloc: ansic: 10,381; perl: 1,120; xml: 375; makefile: 335; yacc: 335; tcl: 308; python: 173; php: 157; lex: 144; sh: 134; lisp: 94
file content (17 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
HOME=/root
export HOME PATH

mylog() {
	if [ -x /usr/bin/logger ]; then
		/usr/bin/logger -t "$0" -- "$1"
	fi 
}

mylog "entered for Product: $PRODUCT Devpath: $DEVPATH Serial: $SERIAL"
mylog "gpib_config options: $GPIB_CONFIG_OPTIONS"

gpib_config $GPIB_CONFIG_OPTIONS --sysfs-device-path $DEVPATH