File: a2j

package info (click to toggle)
a2jmidid 8~dfsg0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,044 kB
  • sloc: python: 11,541; ansic: 3,967; makefile: 28; sh: 10
file content (17 lines) | stat: -rwxr-xr-x 286 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# This script accesses a2jmidid over dbus
# and behaves as a2jmidid in non-dbus mode
#

if test $# -eq 1 -a x$1 = x-e
then
    echo "hardware ports export"
    a2j_control ehw
else
    a2j_control dhw
fi

a2j_control start
trap "a2j_control stop; exit" INT TERM
read unused