1
Fork 0
a2jmidid/a2j

18 lines
286 B
Bash
Executable File

#!/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